|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.usb.util.DefaultUsbIrp
javax.usb.util.DefaultUsbControlIrp
UsbControlIrp default implementation.
This extends DefaultUsbIrp with the Control-specific methods.
| Constructor Summary | |
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. |
|
| Method Summary | |
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. |
| Methods inherited from class javax.usb.util.DefaultUsbIrp |
complete, getAcceptShortPacket, getActualLength, getData, getLength, getOffset, getUsbException, isComplete, isUsbException, setAcceptShortPacket, setActualLength, setComplete, setData, setData, setLength, setOffset, setUsbException, waitUntilComplete, waitUntilComplete |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.usb.UsbIrp |
complete, getAcceptShortPacket, getActualLength, getData, getLength, getOffset, getUsbException, isComplete, isUsbException, setAcceptShortPacket, setActualLength, setComplete, setData, setData, setLength, setOffset, setUsbException, waitUntilComplete, waitUntilComplete |
| Constructor Detail |
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.| Method Detail |
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()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||