visad
Class RemoteThingImpl
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- visad.RemoteThingImpl
-
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, RemoteThing, Thing
- Direct Known Subclasses:
- RemoteDataImpl
public class RemoteThingImpl extends java.rmi.server.UnicastRemoteObject implements RemoteThing
RemoteThingImpl is the VisAD remote adapter for ThingImpl.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description RemoteThingImpl(ThingImpl thing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddReference(ThingReference r)add a ThingReference to this RemoteThingImpl; must be RemoteThingReference; called by ThingReference.setThinglonggetTick()RemoteThingReference-s can (but don't currently) poll getTick()longincTick()Tick is incremented in a RemoteThing object, rather than propogating Thing changes to RemoteThingReference-svoidremoveReference(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
-
-
-
-
Constructor Detail
-
RemoteThingImpl
public RemoteThingImpl(ThingImpl thing) throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
-
-
Method Detail
-
incTick
public long incTick()
Tick is incremented in a RemoteThing object, rather than propogating Thing changes to RemoteThingReference-s- Specified by:
incTickin interfaceRemoteThing
-
getTick
public long getTick()
RemoteThingReference-s can (but don't currently) poll getTick()- Specified by:
getTickin interfaceRemoteThing
-
addReference
public void addReference(ThingReference r) throws VisADException
add a ThingReference to this RemoteThingImpl; must be RemoteThingReference; called by ThingReference.setThing- Specified by:
addReferencein interfaceThing- 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:
removeReferencein interfaceThing- Throws:
VisADException
-
-
DMelt 3.0 © DataMelt by jWork.ORG