javax.usb.event
Interface UsbDeviceListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
UsbDeviceListenerImp

public interface UsbDeviceListener
extends java.util.EventListener

Interface for receiving UsbDeviceEvents.

Author:
E. Michael Maximilien

Method Summary
 void dataEventOccurred(UsbDeviceDataEvent event)
          Data was successfully transferred.
 void errorEventOccurred(UsbDeviceErrorEvent event)
          An error occurred.
 void usbDeviceDetached(UsbDeviceEvent event)
          The UsbDevice was detached.
 

Method Detail

usbDeviceDetached

void usbDeviceDetached(UsbDeviceEvent event)
The UsbDevice was detached.

Parameters:
event - The UsbDeviceEvent.

errorEventOccurred

void errorEventOccurred(UsbDeviceErrorEvent event)
An error occurred.

Parameters:
event - The UsbDeviceErrorEvent.

dataEventOccurred

void dataEventOccurred(UsbDeviceDataEvent event)
Data was successfully transferred.

Parameters:
event - The UsbDeviceDataEvent.