usb.remote
Class USBListenerProxy

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--usb.remote.USBListenerProxy
All Implemented Interfaces:
java.util.EventListener, java.rmi.Remote, RemoteUSBListener, java.io.Serializable, USBListener

public class USBListenerProxy
extends java.rmi.server.UnicastRemoteObject
implements RemoteUSBListener

RMI proxy for a USBListener. Use one of these when you use Host.addUSBListener(usb.core.USBListener) to monitor USB structure changes on a Host that may be remote.

See Also:
Serialized Form

Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
USBListenerProxy(USBListener listener)
          Constructs a remotable proxy for the specified listener
 
Method Summary
 void busAdded(Bus bus)
          New bus added.
 void busRemoved(Bus bus)
          Bus removed.
 void deviceAdded(Device dev)
          New device added.
 void deviceRemoved(Device dev)
          Device removed.
 
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
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

USBListenerProxy

public USBListenerProxy(USBListener listener)
                 throws java.io.IOException
Constructs a remotable proxy for the specified listener
Method Detail

busAdded

public void busAdded(Bus bus)
              throws java.io.IOException
Description copied from interface: USBListener
New bus added.
Specified by:
busAdded in interface USBListener

busRemoved

public void busRemoved(Bus bus)
                throws java.io.IOException
Description copied from interface: USBListener
Bus removed.
Specified by:
busRemoved in interface USBListener

deviceAdded

public void deviceAdded(Device dev)
                 throws java.io.IOException
Description copied from interface: USBListener
New device added.
Specified by:
deviceAdded in interface USBListener

deviceRemoved

public void deviceRemoved(Device dev)
                   throws java.io.IOException
Description copied from interface: USBListener
Device removed.
Specified by:
deviceRemoved in interface USBListener


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.