|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a host with one or more Universal Serial Busses. A Host is the first object you need to access in order to use this API. Get one from a HostFactory.
HostFactory
Method Summary | |
void |
addUSBListener(USBListener l)
Adds a callback for USB structure changes |
Bus[] |
getBusses()
Returns an array of objects representing the USB busses currently available on this host. |
Device |
getDevice(java.lang.String portId)
Returns the device, if any, associated with the specified PortIdentifier string. |
void |
removeUSBListener(USBListener l)
Removes a callback for USB structure changes |
Method Detail |
public Bus[] getBusses() throws java.io.IOException
public Device getDevice(java.lang.String portId) throws java.io.IOException
PortIdentifier
string.public void addUSBListener(USBListener l) throws java.io.IOException
public void removeUSBListener(USBListener l) throws java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |