visad
Class RemoteCellImpl
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- visad.RemoteActionImpl
-
- visad.RemoteCellImpl
-
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, java.util.EventListener, Action, Cell, RemoteAction, RemoteCell, ThingChangedListener
public class RemoteCellImpl extends RemoteActionImpl implements RemoteCell
RemoteCellImpl is the VisAD class for remote access to Cell-s.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description RemoteCellImpl(CellImpl d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DataReferencegetOtherReference(int index)voidsetOtherReference(int index, DataReference ref)set a non-triggering link to a DataReference; this is used to give the Cell access to Data without triggering the Cell's doAction whenever the Data changes; these 'other' DataReferences are identified by their integer index-
Methods inherited from class visad.RemoteActionImpl
addReference, getName, removeAllReferences, removeReference, thingChanged
-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
-
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
-
Methods inherited from interface visad.Action
addReference, getName, removeAllReferences, removeReference
-
Methods inherited from interface visad.ThingChangedListener
thingChanged
-
-
-
-
Constructor Detail
-
RemoteCellImpl
public RemoteCellImpl(CellImpl d) throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
-
-
Method Detail
-
setOtherReference
public void setOtherReference(int index, DataReference ref) throws VisADException, java.rmi.RemoteExceptionset a non-triggering link to a DataReference; this is used to give the Cell access to Data without triggering the Cell's doAction whenever the Data changes; these 'other' DataReferences are identified by their integer index- Specified by:
setOtherReferencein interfaceCell- Parameters:
index- - identifier of DataReferenceref- - DataReference to be linked- Throws:
VisADException- - a VisAD error occurredjava.rmi.RemoteException- - an RMI error occurred
-
getOtherReference
public DataReference getOtherReference(int index) throws VisADException, java.rmi.RemoteException
- Specified by:
getOtherReferencein interfaceCell- Parameters:
index- - identifier of DataReference to return- Returns:
- the non-triggering link to a DataReference identified by index
- Throws:
VisADException- - a VisAD error occurredjava.rmi.RemoteException- - an RMI error occurred
-
-
DMelt 3.0 © DataMelt by jWork.ORG