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:
- Serializable, Remote, DisplaySync, MonitorCallback, RemoteDisplaySync
public class RemoteDisplaySyncImpl
- extends UnicastRemoteObject
- implements RemoteDisplaySync
RemoteDisplaySyncImpl
is the implementation of the VisAD
RemoteDisplaySync
class.
- See Also:
- Serialized Form
RemoteDisplaySyncImpl
public RemoteDisplaySyncImpl(DisplaySyncImpl dpySync)
throws RemoteException
- Creates a remotely-accessible wrapper for the specified
DisplaySync
- Parameters:
dpySync
- The local DisplaySync
object to adapt.
- Throws:
RemoteException
- If there was an RMI-related problem.
destroy
public void destroy()
throws RemoteException
- Specified by:
destroy
in interface DisplaySync
- Throws:
RemoteException
isLocalClear
public boolean isLocalClear()
throws RemoteException
- Specified by:
isLocalClear
in interface DisplaySync
- Throws:
RemoteException
eventReady
public void eventReady(RemoteEventProvider provider,
Object key)
throws 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:
RemoteException
- If there was an RMI-related problem.
RemoteVisADException
- If there was an internal problem.