public class DefaultUsbControlIrp extends DefaultUsbIrp implements UsbControlIrp
This extends DefaultUsbIrp with the Control-specific methods.
| Modifier and Type | Field and Description |
|---|---|
protected byte |
bmRequestType |
protected byte |
bRequest |
protected short |
wIndex |
protected short |
wValue |
acceptShortPacket, actualLength, complete, data, length, offset, usbException| Constructor and Description |
|---|
DefaultUsbControlIrp(byte[] data,
int offset,
int length,
boolean shortPacket,
byte bmRequestType,
byte bRequest,
short wValue,
short wIndex)
Constructor.
|
DefaultUsbControlIrp(byte bmRequestType,
byte bRequest,
short wValue,
short wIndex)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
bmRequestType()
Get the bmRequestType.
|
byte |
bRequest()
Get the bRequest.
|
short |
wIndex()
Get the wIndex.
|
short |
wLength()
Get the wLength.
|
short |
wValue()
Get the wValue.
|
complete, getAcceptShortPacket, getActualLength, getData, getLength, getOffset, getUsbException, isComplete, isUsbException, setAcceptShortPacket, setActualLength, setComplete, setData, setData, setLength, setOffset, setUsbException, waitUntilComplete, waitUntilCompleteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomplete, getAcceptShortPacket, getActualLength, getData, getLength, getOffset, getUsbException, isComplete, isUsbException, setAcceptShortPacket, setActualLength, setComplete, setData, setData, setLength, setOffset, setUsbException, waitUntilComplete, waitUntilCompleteprotected byte bmRequestType
protected byte bRequest
protected short wValue
protected short wIndex
public DefaultUsbControlIrp(byte bmRequestType,
byte bRequest,
short wValue,
short wIndex)
bmRequestType - The bmRequestType.bRequest - The bRequest.wValue - The wValue.wIndex - The wIndex.public DefaultUsbControlIrp(byte[] data,
int offset,
int length,
boolean shortPacket,
byte bmRequestType,
byte bRequest,
short wValue,
short wIndex)
data - The data.offset - The offset.length - The length.shortPacket - The Short Packet policy.bmRequestType - The bmRequestType.bRequest - The bRequest.wValue - The wValue.wIndex - The wIndex.public byte bmRequestType()
bmRequestType in interface UsbControlIrppublic byte bRequest()
bRequest in interface UsbControlIrppublic short wValue()
wValue in interface UsbControlIrppublic short wIndex()
wIndex in interface UsbControlIrppublic short wLength()