javax.usb.event
Interface UsbPipeListener

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

public interface UsbPipeListener
extends java.util.EventListener

Interface for receiving UsbPipeEvents.

Author:
E. Michael Maximilien, Dan Streetman

Method Summary
 void dataEventOccurred(UsbPipeDataEvent event)
          Data was successfully transferred.
 void errorEventOccurred(UsbPipeErrorEvent event)
          An error occurred.
 

Method Detail

errorEventOccurred

void errorEventOccurred(UsbPipeErrorEvent event)
An error occurred.

Parameters:
event - The UsbPipeErrorEvent.

dataEventOccurred

void dataEventOccurred(UsbPipeDataEvent event)
Data was successfully transferred.

Parameters:
event - The UsbPipeDataEvent.