public class UsbPipeErrorEvent extends UsbPipeEvent
This will be fired for all errors on the UsbPipe.
| Constructor and Description |
|---|
UsbPipeErrorEvent(UsbPipe source,
UsbException uE)
Constructor.
|
UsbPipeErrorEvent(UsbPipe source,
UsbIrp uI)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
UsbException |
getUsbException()
Get the associated UsbException.
|
getUsbIrp, getUsbPipe, hasUsbIrppublic UsbPipeErrorEvent(UsbPipe source, UsbException uE)
This should be used only if there is no UsbIrp associated with this event.
source - The UsbPipe.uE - The UsbException.public UsbException getUsbException()