com.ibm.jusb.event
Class UsbPipeListenerImp

java.lang.Object
  extended by com.ibm.jusb.event.EventListenerImp
      extended by com.ibm.jusb.event.UsbPipeListenerImp
All Implemented Interfaces:
java.util.EventListener, UsbPipeListener

public class UsbPipeListenerImp
extends EventListenerImp
implements UsbPipeListener

Implementation of UsbPipeListener.

Author:
Dan Streetman

Constructor Summary
UsbPipeListenerImp()
           
 
Method Summary
 void dataEventOccurred(UsbPipeDataEvent event)
          Data was successfully transferred.
 void errorEventOccurred(UsbPipeErrorEvent event)
          An error occurred.
 
Methods inherited from class com.ibm.jusb.event.EventListenerImp
addEventListener, clear, getName, isEmpty, removeEventListener, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsbPipeListenerImp

public UsbPipeListenerImp()
Method Detail

errorEventOccurred

public void errorEventOccurred(UsbPipeErrorEvent event)
Description copied from interface: UsbPipeListener
An error occurred.

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

dataEventOccurred

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

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