|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.jusb.DefaultUsbInterfacePolicy
public class DefaultUsbInterfacePolicy
Default simple implementation of UsbInterfacePolicy.
Constructor Summary | |
---|---|
DefaultUsbInterfacePolicy()
|
Method Summary | |
---|---|
boolean |
forceClaim(UsbInterface usbInterface)
If the claim should be forced. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultUsbInterfacePolicy()
Method Detail |
---|
public boolean forceClaim(UsbInterface usbInterface)
This will try to forcibly claim the UsbInterface. This is only intended as a flag to the implementation to try everything possible to allow a successful claim. The implementation may try to override any other driver(s) that have the interface claimed.
The implementation is not required to use this flag.
WARNING: This should only be used if you are absolutely sure you want to drive the interface.
forceClaim
in interface UsbInterfacePolicy
usbInterface
- The UsbInterface being claimed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |