com.esf.device.usb.manager.usb2serial.service
Interface Usb2SerialListener


public interface Usb2SerialListener


Method Summary
 void usb2SerialDeviceAttached(java.lang.String vendor, java.lang.String product, java.lang.String usbPortAddress, java.lang.String serialPort)
          This method is called when the USB-To-Serial device has been attached
 void usb2SerialDeviceDetached(java.lang.String vendor, java.lang.String product, java.lang.String usbPortAddress, java.lang.String serialPort)
          This method is called when the USB-To-Serial device has been detached
 

Method Detail

usb2SerialDeviceAttached

void usb2SerialDeviceAttached(java.lang.String vendor,
                              java.lang.String product,
                              java.lang.String usbPortAddress,
                              java.lang.String serialPort)
This method is called when the USB-To-Serial device has been attached

Parameters:
vendor - A String representing vendor ID
product - A String representing product ID
usbPortAddress - A String representing the USB port Address that the device is plugged into.
serialPort - A String representing the serial port assigned to the USB device.

usb2SerialDeviceDetached

void usb2SerialDeviceDetached(java.lang.String vendor,
                              java.lang.String product,
                              java.lang.String usbPortAddress,
                              java.lang.String serialPort)
This method is called when the USB-To-Serial device has been detached

Parameters:
vendor - A String representing vendor ID
product - A String representing product ID
usbPortAddress - A String representing the USB port Address that the device is plugged into.
serialPort - A String representing the serial port assigned to the USB device.