|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | 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. At this writing, accessing that first object uses OS-specific APIs, or unstandardized policies for using RMI Naming. That will change over time.
Linux
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
java.io.IOException
public Device getDevice(java.lang.String portId) throws java.io.IOException
PortIdentifier
string.
java.io.IOException
public void addUSBListener(USBListener l) throws java.io.IOException
java.io.IOException
public void removeUSBListener(USBListener l) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |