ch.ntb.usb
Class Usb_Interface

java.lang.Object
  extended by ch.ntb.usb.Usb_Interface

public class Usb_Interface
extends java.lang.Object

Represents an USB interface.
An interface is a group of alternate settings of a configuration.


Field Summary
static int USB_MAXALTSETTING
          Maximal number of alternate settings
 
Constructor Summary
Usb_Interface()
           
 
Method Summary
 Usb_Interface_Descriptor[] getAltsetting()
          Retuns an array of interface descriptors.
 int getNumAltsetting()
          Returns the number of alternate settings.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

USB_MAXALTSETTING

public static final int USB_MAXALTSETTING
Maximal number of alternate settings

See Also:
Constant Field Values
Constructor Detail

Usb_Interface

public Usb_Interface()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getAltsetting

public Usb_Interface_Descriptor[] getAltsetting()
Retuns an array of interface descriptors.

Returns:
an array of interface descriptors

getNumAltsetting

public int getNumAltsetting()
Returns the number of alternate settings.

Returns:
the number of alternate settings