|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.gsfc.drl.rtstps.viewer.status.PointServer
class PointServer
This is a service class for the Distributor. It handles the distribution of one StatusItem to more than one registeed status listener.
Field Summary | |
---|---|
private java.util.LinkedList<StatusListener> |
listeners
|
Constructor Summary | |
---|---|
PointServer(StatusListener sl1,
StatusListener sl2)
Create a PointServer with two initial StatusListeners. |
Method Summary | |
---|---|
(package private) void |
addListener(StatusListener sl)
Add a status listener. |
void |
processStatusItem(StatusItem item,
java.lang.String fullId)
The listener gets a status item from the Distributor or its proxy. |
(package private) int |
removeListener(StatusListener sl)
Remove a status listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.LinkedList<StatusListener> listeners
Constructor Detail |
---|
PointServer(StatusListener sl1, StatusListener sl2)
Method Detail |
---|
void addListener(StatusListener sl)
int removeListener(StatusListener sl)
public void processStatusItem(StatusItem item, java.lang.String fullId)
processStatusItem
in interface StatusListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |