public class UsbPipeEvent
extends java.util.EventObject
| Constructor and Description |
|---|
UsbPipeEvent(UsbPipe source)
Constructor.
|
UsbPipeEvent(UsbPipe source,
UsbIrp uI)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
UsbIrp |
getUsbIrp()
Get the UsbIrp associated with this event.
|
UsbPipe |
getUsbPipe()
Get the UsbPipe.
|
boolean |
hasUsbIrp()
If this has an associated UsbIrp.
|
public UsbPipeEvent(UsbPipe source)
This should only be used if there is no UsbIrp associated with this event.
source - The source UsbPipe.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.