Top Description Fields Constructors Methods
javax.usb.event

public Class UsbDeviceErrorEvent

extends UsbDeviceEvent
Class Inheritance
Imports
javax.usb.*

Indicates an error occurred on the Default Control Pipe.

This will be fired for all errors on the Default Control Pipe.

Authors
Dan Streetman, E. Michael Maximilien

Field Summary

Modifier and TypeField and Description
private UsbControlIrp

Constructor Summary

AccessConstructor and Description
public
UsbDeviceErrorEvent(UsbDevice
The UsbDevice.
source
,
UsbControlIrp
The UsbControlIrp associated with this error.
irp
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public UsbControlIrp

Returns:

The UsbControlIrp.
getUsbControlIrp
()

Get the UsbControlIrp associated with this event.

public UsbException

Returns:

The associated UsbException.
getUsbException
()

Get the associated UsbException.

Inherited from javax.usb.event.UsbDeviceEvent:
getUsbDevice

Field Detail

usbControlIrpback to summary
private UsbControlIrp usbControlIrp

Constructor Detail

UsbDeviceErrorEventback to summary
public UsbDeviceErrorEvent(UsbDevice source, UsbControlIrp irp)

Constructor.

Parameters
source:UsbDevice

The UsbDevice.

irp:UsbControlIrp

The UsbControlIrp associated with this error.

Method Detail

getUsbControlIrpback to summary
public UsbControlIrp getUsbControlIrp()

Get the UsbControlIrp associated with this event.

Returns:UsbControlIrp

The UsbControlIrp.

getUsbExceptionback to summary
public UsbException getUsbException()

Get the associated UsbException.

Returns:UsbException

The associated UsbException.