|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--usb.windows.USB
Represents a Universal Serial Bus (USB) which hosts a set of devices. Such busses are largely autoconfiguring. Aspects such as power managemnet and detailed device configuration involve policy choices.
Method Summary | |
java.lang.String |
getBusId()
Returns the host controller name for this Universal Serial Bus |
int |
getBusNum()
Returns the number assigned to this bus |
Device |
getDevice(int address)
Returns the device with the given address. |
Host |
getHost()
Returns the USB host for this bus |
Device |
getRootHub()
Returns the root hub of that bus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Host getHost()
getHost
in interface Bus
public int getBusNum()
public java.lang.String getBusId()
getBusId
in interface Bus
public Device getDevice(int address) throws java.io.IOException
getDevice
in interface Bus
address
- The device address java.io.IOException
Device.getAddress()
public Device getRootHub() throws java.io.IOException
getRootHub
in interface Bus
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |