| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.jusb.os.linux.LinuxSetInterfaceRequest
public class LinuxSetInterfaceRequest
Interface for interface-changing Requests.
| Nested Class Summary | |
|---|---|
static interface | 
LinuxRequest.Completion
 | 
| Field Summary | |
|---|---|
static int | 
LINUX_CLAIM_INTERFACE_REQUEST
 | 
static int | 
LINUX_IS_CLAIMED_INTERFACE_REQUEST
 | 
static int | 
LINUX_ISOCHRONOUS_REQUEST
 | 
static int | 
LINUX_PIPE_REQUEST
 | 
static int | 
LINUX_RELEASE_INTERFACE_REQUEST
 | 
static int | 
LINUX_SET_CONFIGURATION_REQUEST
 | 
static int | 
LINUX_SET_INTERFACE_REQUEST
 | 
| Constructor Summary | |
|---|---|
LinuxSetInterfaceRequest()
 | 
|
| Method Summary | |
|---|---|
 byte | 
bmRequestType()
 | 
 byte | 
bRequest()
 | 
 void | 
completeUsbIrp()
Complete the UsbIrp  | 
 boolean | 
getAcceptShortPacket()
 | 
 LinuxRequest.Completion | 
getCompletion()
 | 
 byte[] | 
getData()
 | 
 byte | 
getDirection()
 | 
 byte | 
getEndpointAddress()
 | 
 int | 
getError()
 | 
 int | 
getInterface()
 | 
 int | 
getLength()
 | 
 int | 
getOffset()
 | 
 int | 
getPipeType()
 | 
 int | 
getSetting()
 | 
 byte[] | 
getSetupPacket()
 | 
 int | 
getType()
Get the type of this request.  | 
 long | 
getUrbAddress()
 | 
 UsbIrpImp | 
getUsbIrpImp()
 | 
 boolean | 
isCompleted()
 | 
 void | 
notifyCompleted()
Notify waiteers of completion.  | 
 void | 
setActualLength(int len)
 | 
 void | 
setCompleted(boolean c)
Set completed.  | 
 void | 
setCompletion(LinuxRequest.Completion c)
 | 
 void | 
setEndpointAddress(byte addr)
 | 
 void | 
setError(int error)
 | 
 void | 
setPipeType(byte type)
 | 
 void | 
setUrbAddress(long address)
 | 
 void | 
setUsbIrpImp(UsbControlIrpImp irp)
 | 
 void | 
setUsbIrpImp(UsbIrpImp irp)
 | 
 void | 
waitUntilCompleted()
Wait forever until completed.  | 
 void | 
waitUntilCompleted(long timeout)
Wait until completed.  | 
 short | 
wIndex()
 | 
 short | 
wValue()
 | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int LINUX_PIPE_REQUEST
public static final int LINUX_SET_INTERFACE_REQUEST
public static final int LINUX_SET_CONFIGURATION_REQUEST
public static final int LINUX_CLAIM_INTERFACE_REQUEST
public static final int LINUX_IS_CLAIMED_INTERFACE_REQUEST
public static final int LINUX_RELEASE_INTERFACE_REQUEST
public static final int LINUX_ISOCHRONOUS_REQUEST
| Constructor Detail | 
|---|
public LinuxSetInterfaceRequest()
| Method Detail | 
|---|
public int getType()
public int getInterface()
public int getSetting()
public void setUsbIrpImp(UsbControlIrpImp irp)
irp - The UsbControlIrpImppublic void setUsbIrpImp(UsbIrpImp irp)
irp - The (Control)UsbIrpImppublic byte bmRequestType()
public byte bRequest()
public short wValue()
public short wIndex()
public byte[] getSetupPacket()
public byte getDirection()
public byte[] getData()
public int getOffset()
public int getLength()
public boolean getAcceptShortPacket()
public void setActualLength(int len)
len - The actual length.public UsbIrpImp getUsbIrpImp()
public long getUrbAddress()
public void setUrbAddress(long address)
address - the address of the assocaited URBpublic void setCompleted(boolean c)
c - If this is completed or notpublic void completeUsbIrp()
public void setPipeType(byte type)
type - The pipe type.public void setEndpointAddress(byte addr)
addr - The endpoint addresspublic int getPipeType()
public byte getEndpointAddress()
public int getError()
public void setError(int error)
error - The number of the error that occurred.public void waitUntilCompleted()
public void waitUntilCompleted(long timeout)
public boolean isCompleted()
public void notifyCompleted()
public void setCompletion(LinuxRequest.Completion c)
c - The Completion.public LinuxRequest.Completion getCompletion()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||