visad
Class RemoteThingReferenceImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
visad.RemoteThingReferenceImpl
- All Implemented Interfaces:
- Remote, RemoteThingReference, Serializable, ThingReference
- Direct Known Subclasses:
- RemoteDataReferenceImpl
- public class RemoteThingReferenceImpl
- extends UnicastRemoteObject
- implements RemoteThingReference
RemoteThingReferenceImpl is VisAD remote adapter for ThingReferenceImpl.
- See Also:
- Serialized Form
AdaptedThingReference
final transient ThingReferenceImpl AdaptedThingReference
RemoteThingReferenceImpl
public RemoteThingReferenceImpl(ThingReferenceImpl ref)
throws RemoteException
setThing
public void setThing(Thing t)
throws VisADException,
RemoteException
- set this RemoteThingReferenceImpl to refer to t;
must be RemoteThingImpl
- Specified by:
setThing in interface ThingReference
- Throws:
VisADException
RemoteException
getThing
public Thing getThing()
throws VisADException,
RemoteException
- Specified by:
getThing in interface ThingReference
- Throws:
VisADException
RemoteException
getTick
public long getTick()
throws VisADException,
RemoteException
- Specified by:
getTick in interface ThingReference
- Throws:
VisADException
RemoteException
incTick
public long incTick()
throws VisADException,
RemoteException
- Specified by:
incTick in interface ThingReference
- Throws:
VisADException
RemoteException
getName
public String getName()
throws VisADException,
RemoteException
- Specified by:
getName in interface ThingReference
- Throws:
VisADException
RemoteException
addThingChangedListener
public void addThingChangedListener(ThingChangedListener a,
long id)
throws VisADException,
RemoteException
- addThingChangedListener and removeThingChangedListener
provide ThingChangedEvent source semantics;
Action must be RemoteAction
- Specified by:
addThingChangedListener in interface ThingReference
- Throws:
VisADException
RemoteException
removeThingChangedListener
public void removeThingChangedListener(ThingChangedListener a)
throws VisADException,
RemoteException
- ThingChangedListener must be RemoteAction
- Specified by:
removeThingChangedListener in interface ThingReference
- Throws:
VisADException
RemoteException
peekThingChanged
public ThingChangedEvent peekThingChanged(Action a)
throws VisADException,
RemoteException
- Action must be RemoteAction
- Specified by:
peekThingChanged in interface ThingReference
- Throws:
VisADException
RemoteException
acknowledgeThingChanged
public ThingChangedEvent acknowledgeThingChanged(Action a)
throws VisADException,
RemoteException
- Action must be RemoteAction
- Specified by:
acknowledgeThingChanged in interface ThingReference
- Throws:
VisADException
RemoteException