visad.collab
Class DisplaySyncImpl

java.lang.Object
  extended by visad.collab.DisplaySyncImpl
All Implemented Interfaces:
java.lang.Runnable, java.util.Comparator, DisplaySync, MonitorCallback

public class DisplaySyncImpl
extends java.lang.Object
implements java.util.Comparator, DisplaySync, java.lang.Runnable


Constructor Summary
DisplaySyncImpl(DisplayImpl dpy)
           
DisplaySyncImpl(DisplayImpl dpy, boolean cl)
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 void destroy()
           
 void eventReady(RemoteEventProvider provider, java.lang.Object key)
          Start event callback.
 java.lang.String getName()
           
 boolean isLocalClear()
           
 boolean isThreadRunning()
           
 void run()
          Requests events from the remote provider(s).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

DisplaySyncImpl

public DisplaySyncImpl(DisplayImpl dpy)
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

DisplaySyncImpl

public DisplaySyncImpl(DisplayImpl dpy,
                       boolean cl)
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator

destroy

public void destroy()
Specified by:
destroy in interface DisplaySync

eventReady

public void eventReady(RemoteEventProvider provider,
                       java.lang.Object key)
Start event callback.

Specified by:
eventReady in interface MonitorCallback

getName

public java.lang.String getName()

isLocalClear

public boolean isLocalClear()
Specified by:
isLocalClear in interface DisplaySync

isThreadRunning

public boolean isThreadRunning()

run

public void run()
Requests events from the remote provider(s).

Specified by:
run in interface java.lang.Runnable