visad.collab
Class RemoteDisplaySyncImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
visad.collab.RemoteDisplaySyncImpl
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, DisplaySync, MonitorCallback, RemoteDisplaySync
public class RemoteDisplaySyncImpl
- extends java.rmi.server.UnicastRemoteObject
- implements RemoteDisplaySync
RemoteDisplaySyncImpl
is the implementation of the VisAD
RemoteDisplaySync
class.
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
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 |
RemoteDisplaySyncImpl
public RemoteDisplaySyncImpl(DisplaySyncImpl dpySync)
throws java.rmi.RemoteException
- Creates a remotely-accessible wrapper for the specified
DisplaySync
- Parameters:
dpySync
- The local DisplaySync
object to adapt.
- Throws:
java.rmi.RemoteException
- If there was an RMI-related problem.
destroy
public void destroy()
throws java.rmi.RemoteException
- Specified by:
destroy
in interface DisplaySync
- Throws:
java.rmi.RemoteException
isLocalClear
public boolean isLocalClear()
throws java.rmi.RemoteException
- Specified by:
isLocalClear
in interface DisplaySync
- Throws:
java.rmi.RemoteException
eventReady
public void eventReady(RemoteEventProvider provider,
java.lang.Object key)
throws java.rmi.RemoteException,
RemoteVisADException
- Notifies remote event consumer that an event is ready.
- Specified by:
eventReady
in interface MonitorCallback
- Parameters:
provider
- Object from which event should be fetched.key
- Key used to access event.
- Throws:
java.rmi.RemoteException
- If there was an RMI-related problem.
RemoteVisADException
- If there was an internal problem.