|
|||||||||||
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.UsbPipeEvent
Class for USB pipe events.
Constructor Summary | |
UsbPipeEvent(UsbPipe source)
Constructor. |
|
UsbPipeEvent(UsbPipe source,
UsbIrp uI)
Constructor. |
Method Summary | |
UsbIrp |
getUsbIrp()
Get the UsbIrp associated with this event. |
UsbPipe |
getUsbPipe()
Get the UsbPipe. |
boolean |
hasUsbIrp()
If this has an associated UsbIrp. |
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 UsbPipeEvent(UsbPipe source)
This should only be used if there is no UsbIrp associated with this event.
source
- The source UsbPipe.public UsbPipeEvent(UsbPipe source, UsbIrp uI)
source
- The source UsbPipe.uI
- The UsbIrp.Method Detail |
public UsbPipe getUsbPipe()
public boolean hasUsbIrp()
Note that even if a byte[] was submitted to a UsbPipe, if the implementation used/created a UsbIrp to manage the submission, it may (or may not) provide that UsbIrp in any event generated from the submission.
public UsbIrp getUsbIrp()
If there is no UsbIrp associated with this event, this returns null.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |