visad
Class RemoteActionImpl
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- visad.RemoteActionImpl
-
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, java.util.EventListener, Action, RemoteAction, ThingChangedListener
- Direct Known Subclasses:
- RemoteCellImpl, RemoteDisplayImpl
public abstract class RemoteActionImpl extends java.rmi.server.UnicastRemoteObject implements RemoteAction
RemoteActionImpl is the VisAD remote adapter for ActionImpl.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddReference(ThingReference ref)create link to ThingReference; must be RemoteThingReferencejava.lang.StringgetName()return name of this ActionvoidremoveAllReferences()delete all links to ThingReferencesvoidremoveReference(ThingReference ref)delete link to a ThingReference must be RemoteThingReferencebooleanthingChanged(ThingChangedEvent e)-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
-
-
-
-
Method Detail
-
thingChanged
public boolean thingChanged(ThingChangedEvent e) throws VisADException, java.rmi.RemoteException
- Specified by:
thingChangedin interfaceThingChangedListener- Throws:
VisADExceptionjava.rmi.RemoteException
-
addReference
public void addReference(ThingReference ref) throws VisADException, java.rmi.RemoteException
create link to ThingReference; must be RemoteThingReference- Specified by:
addReferencein interfaceAction- Parameters:
ref- The ThingReference to which to create the link. Subsequent invocation ofthingChanged(ThingChangedEvent)causes invocation ofref.acknowledgeThingChanged(this). This method invokesref.addThingChangedListener(this, ...).- Throws:
RemoteVisADException- if the reference isn't aThingReferenceImpl.ReferenceException- if the reference has already been added.VisADException- if a VisAD failure occurs.java.rmi.RemoteException- if a Java RMI failure occurs.- See Also:
ThingChangedListener.thingChanged(ThingChangedEvent),ThingReference.addThingChangedListener(ThingChangedListener, long)
-
removeReference
public void removeReference(ThingReference ref) throws VisADException, java.rmi.RemoteException
delete link to a ThingReference must be RemoteThingReference- Specified by:
removeReferencein interfaceAction- Parameters:
ref- The reference to be removed.- Throws:
RemoteVisADException- if the reference isn't aThingReferenceImpl.ReferenceException- if the reference isn't a part of this instance.VisADException- if a VisAD failure occurs.java.rmi.RemoteException- if a Java RMI failure occurs.
-
removeAllReferences
public void removeAllReferences() throws VisADException, java.rmi.RemoteExceptiondelete all links to ThingReferences- Specified by:
removeAllReferencesin interfaceAction- Throws:
VisADExceptionjava.rmi.RemoteException
-
getName
public java.lang.String getName() throws VisADExceptionreturn name of this Action- Specified by:
getNamein interfaceAction- Returns:
- String name of this Action
- Throws:
VisADException
-
-
DMelt 3.0 © DataMelt by jWork.ORG