com.ibm.jusb.event
Class UsbDeviceListenerImp

java.lang.Object
  extended by com.ibm.jusb.event.EventListenerImp
      extended by com.ibm.jusb.event.UsbDeviceListenerImp
All Implemented Interfaces:
EventListener, UsbDeviceListener

public class UsbDeviceListenerImp
extends EventListenerImp
implements UsbDeviceListener

Implementation of UsbDeviceListener.

Author:
Dan Streetman

Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.jusb.event.EventListenerImp
EventListenerImp.EventListenerRunnableManager
 
Field Summary
 
Fields inherited from class com.ibm.jusb.event.EventListenerImp
listeners, name
 
Constructor Summary
UsbDeviceListenerImp()
           
 
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.
 
Methods inherited from class com.ibm.jusb.event.EventListenerImp
addEventListener, clear, getName, isEmpty, removeEventListener, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsbDeviceListenerImp

public UsbDeviceListenerImp()
Method Detail

errorEventOccurred

public void errorEventOccurred(UsbDeviceErrorEvent event)
Description copied from interface: UsbDeviceListener
An error occurred.

Specified by:
errorEventOccurred in interface UsbDeviceListener
Parameters:
event - The Event to fire.

dataEventOccurred

public void dataEventOccurred(UsbDeviceDataEvent event)
Description copied from interface: UsbDeviceListener
Data was successfully transferred.

Specified by:
dataEventOccurred in interface UsbDeviceListener
Parameters:
event - The Event to fire.

usbDeviceDetached

public void usbDeviceDetached(UsbDeviceEvent event)
Description copied from interface: UsbDeviceListener
The UsbDevice was detached.

Specified by:
usbDeviceDetached in interface UsbDeviceListener
Parameters:
event - The Event to fire.


Copyright © 2012 LSST. All Rights Reserved.