|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.rmi.server.RemoteObject java.rmi.server.RemoteServer java.rmi.server.UnicastRemoteObject visad.RemoteActionImpl
public abstract class RemoteActionImpl
RemoteActionImpl is the VisAD remote adapter for ActionImpl.
Field Summary |
---|
Fields inherited from class java.rmi.server.RemoteObject |
---|
ref |
Method Summary | |
---|---|
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)
|
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 |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |