public class UsbDeviceErrorEvent extends UsbDeviceEvent
This will be fired for all errors on the Default Control Pipe.
| Constructor and Description |
|---|
UsbDeviceErrorEvent(UsbDevice source,
UsbControlIrp irp)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
UsbControlIrp |
getUsbControlIrp()
Get the UsbControlIrp associated with this event.
|
UsbException |
getUsbException()
Get the associated UsbException.
|
getUsbDevicepublic UsbDeviceErrorEvent(UsbDevice source, UsbControlIrp irp)
source - The UsbDevice.irp - The UsbControlIrp associated with this error.public UsbException getUsbException()
public UsbControlIrp getUsbControlIrp()