visad.collab
Class MonitorSyncer
java.lang.Object
visad.collab.MonitorSyncer
- All Implemented Interfaces:
- Runnable
- class MonitorSyncer
- extends Object
- implements Runnable
MonitorSyncer
public MonitorSyncer(String name,
MonitorCallback callback,
int id)
throws RemoteException
MonitorSyncer
public MonitorSyncer(String name,
RemoteDisplay rmtDpy,
int id)
throws RemoteException
addEvent
public void addEvent(MonitorEvent evt)
getEvent
public MonitorEvent getEvent(Object key)
getID
public int getID()
- Get the unique identifier.
- Returns:
- the unique identifier.
getListener
public MonitorCallback getListener()
getName
public String getName()
hasControlEventQueued
public boolean hasControlEventQueued(Control ctl)
isEmpty
public boolean isEmpty()
isDead
public boolean isDead()
- Check to see if the connection is dead.
- Returns:
- true if the connection is dead.
isMonitored
public boolean isMonitored(RemoteDisplay rmtDpy)
- Check to see if this object is monitoring the specified
RemoteDisplay.
- Parameters:
rmtDpy - RemoteDisplay being searched for.
- Returns:
- true if this object is monitoring the display.
run
public void run()
- Specified by:
run in interface Runnable
toString
public String toString()