javax.usb.event
Interface UsbDeviceListener

All Superinterfaces:
java.util.EventListener

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

public void usbDeviceDetached(UsbDeviceEvent event)
The UsbDevice was detached.

Parameters:
event - The UsbDeviceEvent.

errorEventOccurred

public void errorEventOccurred(UsbDeviceErrorEvent event)
An error occurred.

Parameters:
event - The UsbDeviceErrorEvent.

dataEventOccurred

public void dataEventOccurred(UsbDeviceDataEvent event)
Data was successfully transferred.

Parameters:
event - The UsbDeviceDataEvent.


Copyright © 2009 Eurotech Inc. All rights reserved.