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


public interface Usb2SerialListener


Method Summary
 void usb2SerialDeviceAttached(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 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 usbPortAddress,
                              java.lang.String serialPort)
This method is called when the USB-To-Serial device has been attached

Parameters:
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 usbPortAddress,
                              java.lang.String serialPort)
This method is called when the USB-To-Serial device has been detached

Parameters:
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.