All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----com.arcsinc.hardwarehost.datamgmt.HostDataMgrImpl
HostDataMgrImpl
class provides the data
management coordination for the host. Although not a requirement,
it is best that there is only one instance of this class for a
given host.
DataClient
to receive on-line data.
Vector
of ExtVariableSpec
with the available parameters within the current application.
findName
in a
listNames[]
HdwListener
interface.
hdwStateChanged()
when the
current application is started.
hdwStateChanged()
when the
current application is stopped for any reason.
hdwStateChanged()
when the
current application is changed or updated.
DataClient
.
this
.
public HostDataMgrImpl(HdwMgrImpl owner, HdwCommImpl hdwComm)
public ClientDataMgr addClient(DataClient dc)
DataClient
to receive on-line data.
The implementation must create and return a
ClientDataMgr
. The control and data exchange is
between the registered client and the created manager.
DataClient
to be registered.
public void removeClient(DataClient dc)
DataClient
. The implementation
should dispose of the dedicated ClientDataMgr
.
DataClient
to be unregistered.
public Vector getAvailParams()
Vectcode>Vector
of ExtVariableSpec
with the available parameters within the current application.
Vector
of available parameters.
public void hdwStateChanged(HdwEvent e)
HdwListener
interface. The
HdwEvent
is used to determine when data should and
should not be pulled from the hardware and when to update the
available symbols.
HdwEvent
public void run()
this
.
public boolean notifyCoffChange(SymTableFilter newFilter)
hdwStateChanged()
when the
current application is changed or updated.
SymTableFilter
for the
updated/changed current application
protected boolean notifyAppStart()
hdwStateChanged()
when the
current a the
current application is started. This function initiates
pulling data from the hardware application and starts all of
the client data managers to get their required data from
this
.
protected boolean notifyAppStop()
hdwStateChanged()
when the
current application is stopped for any reason. This function stops
pulling data from the hardware application
protected void updateExternVariables(SymTableFilter newFilter)
SymTableFilter
protected void insertSpecIntoMaster(ExtVariableSpec spec)
protected int getIndex(String findName, ring findName, String listNames[])
findName
in a
listNames[]
String
to find.
String[]
to search in.
protected void loadExternVariables()
protected void addExtVarsToList(Vector paramList, String module)
protected void removeExtVarsFromList(Vector removeList, String module, Vector addList)
protected void removeOneExtVarFromList(String module, String name, Vector removeList, Vector addList)
All Packages Class Hierarchy This Package Previop_">Previous Next Index