public abstract class RemoteActionImpl extends UnicastRemoteObject implements RemoteAction
ref
Modifier and Type | Method and Description |
---|---|
void |
addReference(ThingReference ref)
create link to ThingReference;
must be RemoteThingReference
|
String |
getName()
return name of this Action
|
void |
removeAllReferences()
delete all links to ThingReferences
|
void |
removeReference(ThingReference ref)
delete link to a ThingReference
must be RemoteThingReference
|
boolean |
thingChanged(ThingChangedEvent e) |
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
public boolean thingChanged(ThingChangedEvent e) throws VisADException, RemoteException
thingChanged
in interface ThingChangedListener
VisADException
RemoteException
public void addReference(ThingReference ref) throws VisADException, RemoteException
addReference
in interface Action
ref
- The ThingReference to which to create
the link. Subsequent invocation of
thingChanged(ThingChangedEvent)
causes invocation of
ref.acknowledgeThingChanged(this)
. This method invokes
ref.addThingChangedListener(this, ...)
.RemoteVisADException
- if the reference isn't a ThingReferenceImpl
.ReferenceException
- if the reference has already been added.VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.ThingChangedListener.thingChanged(ThingChangedEvent)
,
ThingReference.addThingChangedListener(ThingChangedListener, long)
public void removeReference(ThingReference ref) throws VisADException, RemoteException
removeReference
in interface Action
ref
- The reference to be removed.RemoteVisADException
- if the reference isn't a ThingReferenceImpl
.ReferenceException
- if the reference isn't a part of this
instance.VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.public void removeAllReferences() throws VisADException, RemoteException
removeAllReferences
in interface Action
VisADException
RemoteException
public String getName() throws VisADException
getName
in interface Action
VisADException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.