visad
Class RemoteThingImpl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by visad.RemoteThingImpl
All Implemented Interfaces:
Serializable, Remote, RemoteThing, Thing
Direct Known Subclasses:
RemoteDataImpl

public class RemoteThingImpl
extends UnicastRemoteObject
implements RemoteThing

RemoteThingImpl is the VisAD remote adapter for ThingImpl.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RemoteThingImpl(ThingImpl thing)
           
 
Method Summary
 void addReference(ThingReference r)
          add a ThingReference to this RemoteThingImpl; must be RemoteThingReference; called by ThingReference.setThing
 long getTick()
          RemoteThingReference-s can (but don't currently) poll getTick()
 long incTick()
          Tick is incremented in a RemoteThing object, rather than propogating Thing changes to RemoteThingReference-s
 void removeReference(ThingReference r)
          remove a ThingReference to this RemoteThingImpl; must be RemoteThingReferenceImpl; called by ThingReference.setThing
 
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

RemoteThingImpl

public RemoteThingImpl(ThingImpl thing)
                throws RemoteException
Throws:
RemoteException
Method Detail

incTick

public long incTick()
Tick is incremented in a RemoteThing object, rather than propogating Thing changes to RemoteThingReference-s

Specified by:
incTick in interface RemoteThing

getTick

public long getTick()
RemoteThingReference-s can (but don't currently) poll getTick()

Specified by:
getTick in interface RemoteThing

addReference

public void addReference(ThingReference r)
                  throws VisADException
add a ThingReference to this RemoteThingImpl; must be RemoteThingReference; called by ThingReference.setThing

Specified by:
addReference in interface Thing
Throws:
VisADException

removeReference

public void removeReference(ThingReference r)
                     throws VisADException
remove a ThingReference to this RemoteThingImpl; must be RemoteThingReferenceImpl; called by ThingReference.setThing

Specified by:
removeReference in interface Thing
Throws:
VisADException