javax.usb
Interface UsbControlIrp

All Superinterfaces:
UsbIrp
All Known Implementing Classes:
DefaultUsbControlIrp

public interface UsbControlIrp
extends UsbIrp

Interface for a control-type USB IRP (I/O Request Packet).

This is identical to a UsbIrp, except this also contains the Control-specific setup packet information.

Author:
Dan Streetman

Method Summary
 byte bmRequestType()
          Get the bmRequestType.
 byte bRequest()
          Get the bRequest.
 short wIndex()
          Get the wIndex.
 short wValue()
          Get the wValue.
 
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
 

Method Detail

bmRequestType

public byte bmRequestType()
Get the bmRequestType.

Returns:
The bmRequestType.

bRequest

public byte bRequest()
Get the bRequest.

Returns:
The bRequest.

wValue

public short wValue()
Get the wValue.

Returns:
The wValue.

wIndex

public short wIndex()
Get the wIndex.

Returns:
The wIndex.


Copyright © 2009 Eurotech Inc. All rights reserved.