All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.rmi.server.RemoteObject
|
+----java.rmi.server.RemoteServer
|
+----java.rmi.server.UnicastRemoteObject
|
+----com.arcsinc.hardwarehost.HdwHostImpl
HdwHostImpl class provides the base functionality
associated with coordinating access to the hardware.
DataClient to receive on-line data.
HdwHostImpl instantance.
CoffHandler.
HdwComm.
HdwMgr.
ClientProxy for a
MonitoringClient.
CntlClientProxy for a
ControllingClient.
HdwHost by its current
ControllingClient.
MonitoringClient.
ControllingClient.
DataClient.
HdwHostImpl.
HdwHost by a particular
ControllingClient.
protected CntlClientProxy activeControlProxy
protected Vector cntlClientProxies
protected Vector cprotected Vector clientProxieshdwHostAddOns
protected Vector hdwHostAddOnss">
![]()
HdwHostImpl
public HdwHostImpl() throws RemoteException
HdwHostImpl, as well as, its instances of
HdwMgrImpl, HdwCommImpl, and its
CoffHandler.
public void finalize()
public int getNumClientProxies()
public HdwMgr getHdwMgr()
HdwMgr.
reference to the HdwMgr.
HdwHostImpl's HdwMgr.
public HdwComm getHdwComm()
HdwComm.
HdwHostImpl's HdwComm.
public CoffHandler getCoffHandler()
CoffHandler.
HdwHostImpl's CoffHandler.
public ClientProxy initClientProxy(MonitoringClient v) throws RemoteException
ClientProxy for a
MonitoringClient.
MonitoringClient which requires a
ClientProxy
ClientProxy
publicpublic CntlClientProxy initCntlClientProxy(ControllingClient v) throws RemoteException
CntlClientProxy for a
ControllingClient. This implementation allows
for only one ControllingClient; active control is
granted with successful completion of this call.
ControllingClient which requires a
CntlClientProxy
- Returns:
- the created
CntlClientProxy or
null if a ControllingClient has
already been established.
- Throws: RemoteException
- a general network or Remote
failure.
protected boolean removeClientUtil(HdwClient v,
Vector x) throws RemoteException
Vector of currently registered proxies.
true if successfully removed, otherwise
false.
public boolean removeClient(MonitoringClient v) throws RemoteException
MonitoringClient. This function should
also delete the client's ClientProxy
MonitoringClient to be removed.
b>public boolean removeCntlClient(ControllingClient v) throws RemoteException
ControllingClient. This function should
also delete the client's CntlClientProxy
ControllingClient to be removed.
public boolean relinguishActiveControl(ControllingClient v) throws RemoteException
HdwHost by its current
ControllingClient. This function is not currently
implemented; always returns true.
ControllingClient with active control.
public boolean requestActiveControl(ControllingClient v) throws RemoteException
HdwHost by a particular
ControllingClient. This function is not currently
implemented; always returns true.
ControllingClieollingClient with active control.
true if control is granted, otherwise
false.
public ClientDataMgr addDataClient(DataClient dc)
DataClient to receive on-line data.
This implementation provides a simple call to the host's
HostDataMgrImpl.
DataClient to be registered.
public void removeDataClient(DataClient dc)
DataClient. This implementation
provides a simple call to the host's HostDataMgrImpl.
DataClient to be unregistered.
public void addHdwHostAddOn(HdwHostAddOn addOn)
HdwHostImpl instantance. Any object wishing
registration must implement the HdwHostAddOn
n
interface. The add-on object is automatically registered as a
HdwListener.
public void removeHdwHostAddOn(HdwHostAddOn addOn)
HdwHostImpl.
All Packages Class Hierarchy This Package Previous Next Index