usb.remote
Class HostProxy
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--usb.remote.HostProxy
- All Implemented Interfaces:
- Host, java.rmi.Remote, RemoteHost, java.io.Serializable
- public final class HostProxy
- extends java.rmi.server.UnicastRemoteObject
- implements RemoteHost
RMI proxy for a local Host
implementation.
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary |
HostProxy(Host host)
Constructs a proxy for the specified Host. |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
HostProxy
public HostProxy(Host host)
throws java.io.IOException
- Constructs a proxy for the specified Host.
finalize
public void finalize()
- Overrides:
finalize
in class java.lang.Object
getBusses
public Bus[] getBusses()
throws java.io.IOException
- Description copied from interface:
Host
- Returns an array of objects representing the USB busses currently
available on this host.
- Specified by:
getBusses
in interface Host
getDevice
public Device getDevice(java.lang.String portid)
throws java.io.IOException
- Description copied from interface:
Host
- Returns the device, if any, associated with the specified
PortIdentifier
string.
- Specified by:
getDevice
in interface Host
addUSBListener
public void addUSBListener(USBListener listener)
throws java.io.IOException
- Description copied from interface:
Host
- Adds a callback for USB structure changes
- Specified by:
addUSBListener
in interface Host
removeUSBListener
public void removeUSBListener(USBListener listener)
throws java.io.IOException
- Description copied from interface:
Host
- Removes a callback for USB structure changes
- Specified by:
removeUSBListener
in interface Host
Associated source code is licenced under the LGPL.
See http://jusb.sourceforge.net
This documentation was derived from that source code on 24-Jul-2002.