com.esf.device.usb.manager.storage.service
Interface UsbStorageListener


public interface UsbStorageListener

This interface provides methods for notification of a USB Mass Storage device attached event.


Method Summary
 void usbStorageDeviceAttached(java.lang.String deviceName, java.lang.String usbPort, java.lang.String deviceNode)
          This method is called when the USB Mass Storage device has been attached
 void usbStorageDeviceDetached(java.lang.String deviceName, java.lang.String usbPort, java.lang.String deviceNode)
          This method is called when the USB Mass Storage device has been detached
 

Method Detail

usbStorageDeviceAttached

void usbStorageDeviceAttached(java.lang.String deviceName,
                              java.lang.String usbPort,
                              java.lang.String deviceNode)
This method is called when the USB Mass Storage device has been attached

Parameters:
deviceName - A String representing the USB VendorID and ProduceID separated by a single space;
usbPort - A String representing the USB port that the device is plugged into.
deviceNode - A String representing the USB device node assigned to the USB device.

usbStorageDeviceDetached

void usbStorageDeviceDetached(java.lang.String deviceName,
                              java.lang.String usbPort,
                              java.lang.String deviceNode)
This method is called when the USB Mass Storage device has been detached

Parameters:
deviceName - A String representing the USB VendorID and ProduceID separated by a single space;
usbPort - A String representing the USB port that the device is plugged into.
deviceNode - A String representing the USB device node assigned to the USB device.