class GatherStations
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Enumeration |
sNamesEnum |
Constructor and Description |
---|
GatherStations(Server servObj,
CA2S_sp_impl spRec,
S2CA_impl spReq,
java.util.Enumeration stationNamesEnum,
java.util.Hashtable compStat)
Creates an object of GatherStations.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
This method makes sure all (or as many as possible) stations have
gotten their static parameter information from the collection
agents.
|
void |
terminateThread()
This method tells the thread to exit.
|
public GatherStations(Server servObj, CA2S_sp_impl spRec, S2CA_impl spReq, java.util.Enumeration stationNamesEnum, java.util.Hashtable compStat)
servObj
- the Server object.spRec
- the collection-agent-to-server channel for static
parameters.spReq
- the server-to-collection-agent channel for requesting
static parameters.stationNamesEnum
- an Enumeration of name-strings of stations
for which static parameters should be requested (if necessary).compStat
- the Hashtable of stations that have received their
static parameters; filled in via the Server object.public void terminateThread()
public void run()
run
in interface java.lang.Runnable