com.eurotech.framework.usb
Class UsbDeviceRemovedEvent

java.lang.Object
  extended by org.osgi.service.event.Event
      extended by com.eurotech.framework.usb.UsbDeviceRemovedEvent
All Implemented Interfaces:
UsbDeviceEvent

public class UsbDeviceRemovedEvent
extends org.osgi.service.event.Event
implements UsbDeviceEvent

An event raised when a USB device has been removed from the system.


Field Summary
static String USB_EVENT_DEVICE_REMOVED_TOPIC
          Topic of the UsbDeviceRemovedEvent
 
Fields inherited from interface com.eurotech.framework.usb.UsbDeviceEvent
USB_EVENT_BUS_NUMBER_PROPERTY, USB_EVENT_DEVICE_PATH_PROPERTY, USB_EVENT_MANUFACTURER_NAME_PROPERTY, USB_EVENT_PRODUCT_ID_PROPERTY, USB_EVENT_PRODUCT_NAME_PROPERTY, USB_EVENT_RESOURCE_PROPERTY, USB_EVENT_USB_PORT_PROPERTY, USB_EVENT_VENDOR_ID_PROPERTY
 
Constructor Summary
UsbDeviceRemovedEvent(Map<String,?> properties)
           
 
Method Summary
 String getUsbBusNumber()
          Returns the name of the USB bus number associated with this device.
 String getUsbDevicePath()
          Returns the name of the USB device path associated with this device.
 String getUsbManufacturerName()
          Returns the name of the USB manufacturer name associated with this device.
 String getUsbPort()
          Returns the name of the USB port.
 String getUsbProductId()
          Returns the name of the USB product ID associated with this device.
 String getUsbProductName()
          Returns the name of the USB product name associated with this device.
 String getUsbResource()
          Returns the name of the USB resource associated with this device.
 String getUsbVendorId()
          Returns the name of the USB vendor ID associated with this device.
 
Methods inherited from class org.osgi.service.event.Event
containsProperty, equals, getProperty, getPropertyNames, getTopic, hashCode, matches, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

USB_EVENT_DEVICE_REMOVED_TOPIC

public static final String USB_EVENT_DEVICE_REMOVED_TOPIC
Topic of the UsbDeviceRemovedEvent

See Also:
Constant Field Values
Constructor Detail

UsbDeviceRemovedEvent

public UsbDeviceRemovedEvent(Map<String,?> properties)
Method Detail

getUsbPort

public String getUsbPort()
Returns the name of the USB port.

Returns:

getUsbResource

public String getUsbResource()
Returns the name of the USB resource associated with this device.

Returns:

getUsbVendorId

public String getUsbVendorId()
Returns the name of the USB vendor ID associated with this device.

Returns:

getUsbProductId

public String getUsbProductId()
Returns the name of the USB product ID associated with this device.

Returns:

getUsbManufacturerName

public String getUsbManufacturerName()
Returns the name of the USB manufacturer name associated with this device.

Returns:

getUsbProductName

public String getUsbProductName()
Returns the name of the USB product name associated with this device.

Returns:

getUsbBusNumber

public String getUsbBusNumber()
Returns the name of the USB bus number associated with this device.

Returns:

getUsbDevicePath

public String getUsbDevicePath()
Returns the name of the USB device path associated with this device.

Returns:


Copyright © 2013. All Rights Reserved.