javax.usb.event
Class UsbServicesEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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

Constructor Summary
UsbServicesEvent(UsbServices source, UsbDevice device)
          Constructor.
 
Method Summary
 UsbDevice getUsbDevice()
          Get the UsbDevice.
 UsbServices getUsbServices()
          Get the UsbServices.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UsbServicesEvent

public UsbServicesEvent(UsbServices source,
                        UsbDevice device)
Constructor.

Parameters:
source - The source UsbServices.
device - The UsbDevice involved in the event.
Method Detail

getUsbServices

public UsbServices getUsbServices()
Get the UsbServices.

Returns:
The associated UsbServices.

getUsbDevice

public UsbDevice getUsbDevice()
Get the UsbDevice.

Returns:
The associated UsbDevice.