javax.usb.event
Interface UsbPipeListener

All Superinterfaces:
java.util.EventListener

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

public void errorEventOccurred(UsbPipeErrorEvent event)
An error occurred.

Parameters:
event - The UsbPipeErrorEvent.

dataEventOccurred

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

Parameters:
event - The UsbPipeDataEvent.


Copyright © 2009 Eurotech Inc. All rights reserved.