|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--visad.ThingReferenceImpl
ThingReferenceImpl is a local implementation of ThingReference.
ThingReferenceImpl is not Serializable and should not be copied between JVMs.
| Field Summary | |
(package private) Vector |
ListenerVector
Vector of ThingChangedLinks; ThingReferenceImpl is not Serializable, but mark as transient anyway |
(package private) String |
Name
name of scalar type |
| Constructor Summary | |
ThingReferenceImpl(String name)
Constructs from a name for the instance. |
|
| Method Summary | |
ThingChangedEvent |
acknowledgeThingChanged(Action a)
|
ThingChangedEvent |
adaptedAcknowledgeThingChanged(RemoteAction a)
|
(package private) void |
adaptedAddThingChangedListener(RemoteAction a,
long id)
method for use by RemoteThingReferenceImpl that adapts this ThingReferenceImpl |
ThingChangedEvent |
adaptedPeekThingChanged(RemoteAction a)
|
(package private) void |
adaptedRemoveThingChangedListener(RemoteAction a)
method for use by RemoteThingReferenceImpl that adapts this ThingReferenceImpl |
(package private) void |
adaptedSetThing(RemoteThing t,
RemoteThingReference r)
method for use by RemoteThingReferenceImpl that adapts this ThingReferenceImpl |
void |
addThingChangedListener(ThingChangedListener listener,
long id)
Adds a listener for changes in the underlying Thing. |
boolean |
equals(Object obj)
|
ThingChangedLink |
findThingChangedLink(Action a)
find ThingChangedLink with action |
String |
getName()
|
Thing |
getThing()
|
long |
getTick()
|
long |
incTick()
synchronized because incTick, setThing, and adaptedSetThing share access to thing and ref |
ThingChangedEvent |
peekThingChanged(Action a)
|
void |
removeThingChangedListener(ThingChangedListener a)
ThingChangedListener must be local ActionImpl |
void |
setThing(Thing t)
Sets the underlying thing to reference. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|
| Field Detail |
String Name
transient Vector ListenerVector
| Constructor Detail |
public ThingReferenceImpl(String name)
throws VisADException
name - The name for this instance.null.| Method Detail |
public Thing getThing()
public void setThing(Thing t)
throws VisADException,
RemoteException
t - The thing to reference.RemoteThing.
void adaptedSetThing(RemoteThing t,
RemoteThingReference r)
throws VisADException,
RemoteException
public long getTick()
public long incTick()
throws VisADException,
RemoteException
public ThingChangedEvent peekThingChanged(Action a)
throws VisADException
public ThingChangedEvent acknowledgeThingChanged(Action a)
throws VisADException
public ThingChangedEvent adaptedPeekThingChanged(RemoteAction a)
throws VisADException
public ThingChangedEvent adaptedAcknowledgeThingChanged(RemoteAction a)
throws VisADException
public ThingChangedLink findThingChangedLink(Action a)
throws VisADException
public String getName()
public void addThingChangedListener(ThingChangedListener listener,
long id)
throws RemoteVisADException,
ReferenceException,
VisADException
Thing. If the
thing changes, then the listener is notified.listener - The listener.id - The id of the corresponding ReferenceActionLink.ActionImpl.
void adaptedAddThingChangedListener(RemoteAction a,
long id)
throws VisADException
public void removeThingChangedListener(ThingChangedListener a)
throws VisADException
void adaptedRemoveThingChangedListener(RemoteAction a)
throws VisADException
public boolean equals(Object obj)
public String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||