javax.usb.UsbControlIrp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of usb-api Show documentation
Show all versions of usb-api Show documentation
Java API for communicating with devices that are attached via USB
The newest version!
package javax.usb;
/**
* Copyright (c) 1999 - 2001, International Business Machines Corporation.
* All Rights Reserved.
*
* This software is provided and licensed under the terms and conditions
* of the Common Public License:
* http://oss.software.ibm.com/developerworks/opensource/license-cpl.html
*/
/**
* 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
*/
public interface UsbControlIrp extends UsbIrp
{
/**
* Get the bmRequestType.
* @return The bmRequestType.
*/
public byte bmRequestType();
/**
* Get the bRequest.
* @return The bRequest.
*/
public byte bRequest();
/**
* Get the wValue.
* @return The wValue.
*/
public short wValue();
/**
* Get the wIndex.
* @return The wIndex.
*/
public short wIndex();
}