|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 UsbInterfacePolicyusbInterface - The UsbInterface being claimed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||