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

Field Summary
 
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
java.io.IOException

busRemoved

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

Specified by:
busRemoved in interface USBListener
java.io.IOException

deviceAdded

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

Specified by:
deviceAdded in interface USBListener
java.io.IOException

deviceRemoved

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

Specified by:
deviceRemoved in interface USBListener
java.io.IOException