|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject javax.usb.event.UsbDeviceEvent javax.usb.event.UsbDeviceDataEvent
Indicates data was successfully transferred over the Default Control Pipe.
This event will be fired on all successful transfers of data over the DCP.
Constructor Summary | |
UsbDeviceDataEvent(UsbDevice source,
UsbControlIrp irp)
Constructor. |
Method Summary | |
byte[] |
getData()
Get the data. |
UsbControlIrp |
getUsbControlIrp()
Get the UsbControlIrp associated with this event. |
Methods inherited from class javax.usb.event.UsbDeviceEvent |
getUsbDevice |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UsbDeviceDataEvent(UsbDevice source, UsbControlIrp irp)
source
- The UsbDevice.irp
- The UsbControlIrp.Method Detail |
public byte[] getData()
This is a new byte[] whose length is the actual amount of transferred data. The contents is a copy of the transferred data.
public UsbControlIrp getUsbControlIrp()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |