public class RemoteDataReferenceImpl extends RemoteThingReferenceImpl implements RemoteDataReference
ref
Constructor and Description |
---|
RemoteDataReferenceImpl(DataReferenceImpl ref)
construct a RemoteDataReferenceImpl adapting the given
DataReferenceImpl
|
Modifier and Type | Method and Description |
---|---|
Data |
getData()
return referenced Data object, but if Data is a FieldImpl
return a RemoteFieldImpl referencing Data to avoid copying
entire FieldImpl between JVMs
|
MathType |
getType()
this is more efficient than getData().getType() for
RemoteDataReferences
|
void |
setData(Data d)
set this RemoteDataReferenceImpl to refer to given Data
|
acknowledgeThingChanged, addThingChangedListener, getName, getThing, getTick, incTick, peekThingChanged, removeThingChangedListener, setThing
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
equals, getRef, hashCode, toString, toStub
finalize, getClass, notify, notifyAll, wait, wait, wait
acknowledgeThingChanged, addThingChangedListener, getName, getThing, getTick, incTick, peekThingChanged, removeThingChangedListener, setThing
public RemoteDataReferenceImpl(DataReferenceImpl ref) throws RemoteException
ref
- adpted DataReferenceImplRemoteException
- an RMI error occurredpublic void setData(Data d) throws VisADException, RemoteException
setData
in interface DataReference
d
- Data to be set (must be RemoteDataImpl)VisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic Data getData() throws VisADException, RemoteException
getData
in interface DataReference
VisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic MathType getType() throws VisADException, RemoteException
getType
in interface DataReference
VisADException
- a VisAD error occurredRemoteException
- an RMI error occurredCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.