com.ibm.jusb.os
Interface UsbInterfaceOsImp

All Known Implementing Classes:
DefaultUsbInterfaceOsImp

public interface UsbInterfaceOsImp

UsbInterface platform implementation.

Author:
Dan Streetman

Method Summary
 void claim()
          Claim this interface.
 void claim(UsbInterfacePolicy policy)
          Claim this interface using a UsbInterfacePolicy.
 boolean isClaimed()
          Indicate if this interface is claimed.
 void release()
          Release this interface.
 

Method Detail

claim

void claim()
           throws UsbException
Claim this interface.

Throws:
UsbException - if the interface could not be claimed.

claim

void claim(UsbInterfacePolicy policy)
           throws UsbException
Claim this interface using a UsbInterfacePolicy.

Parameters:
policy - The UsbInterfacePolicy.
Throws:
UsbException - if the interface could not be claimed.

release

void release()
             throws UsbException
Release this interface.

Throws:
UsbException - If the interface could not be released.

isClaimed

boolean isClaimed()
Indicate if this interface is claimed.

The claim must represent at least Java claims and depending on implementation may represent native platform claims.

Returns:
if this interface is claimed.