javax.usb.event
Class UsbServicesEvent
java.lang.Object
java.util.EventObject
javax.usb.event.UsbServicesEvent
- All Implemented Interfaces:
- java.io.Serializable
public class UsbServicesEvent
- extends java.util.EventObject
Class for a USB services event.
- Author:
- E. Michael Maximilien, Dan Streetman
- See Also:
- Serialized Form
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UsbServicesEvent
public UsbServicesEvent(UsbServices source,
UsbDevice device)
- Constructor.
- Parameters:
source
- The source UsbServices.device
- The UsbDevice involved in the event.
getUsbServices
public UsbServices getUsbServices()
- Get the UsbServices.
- Returns:
- The associated UsbServices.
getUsbDevice
public UsbDevice getUsbDevice()
- Get the UsbDevice.
- Returns:
- The associated UsbDevice.