ist.palcom.contingency.manager
Class ContingencyDeviceContext

java.lang.Object
  extended by ist.palcom.assemblies.AssemblyDeviceContext
      extended by ist.palcom.contingency.manager.ContingencyDeviceContext
All Implemented Interfaces:
DeviceContext, IHgraphNode

public class ContingencyDeviceContext
extends AssemblyDeviceContext

A context for devices that support contingency management. It is created as a decorator for other DeviceContexts (decorator pattern).


Field Summary
 
Fields inherited from interface ist.palcom.hgraph.IHgraphNode
CHILD_NAME_CLASH, CIRCULARITY_CLASH, COMMAND_OR_NODE_MISSING, ERROR, HANDLER_MISSING, INVOKATOR_MISSING, LISTENER_MISSING, NODE_NOT_CHILD, PATH_MISSING, SIBLING_ALREADY_EXISTS, SIBLING_NONEXISTENT, SIBLING_REFERENCE_ALREADY_EXISTS, SIBLING_REFERENCE_NONEXISTENT, STATUS_OK, VALUE_ALREADY_EXISTS, VALUE_NOT_PRESENT
 
Constructor Summary
ContingencyDeviceContext(DeviceContext context)
           
 
Method Summary
 IContingencyManager getContingencyManager()
           
 IContingencyMonitor getContingencyMonitor()
           
 IResourceDirectory getResourceDirectory()
           
 void setContingencyManager(IContingencyManager contingnencyManager)
           
 void setContingencyMonitor(IContingencyMonitor contingencyMonitor)
           
 void setResourceDirectory(IResourceDirectory resourceDirectory)
           
 
Methods inherited from class ist.palcom.assemblies.AssemblyDeviceContext
addListOfServicesAtDeviceLevel, addListOfServicesToList, addNodeChild, addServiceAtDeviceLevel, addServiceToList, getAssemblyManager, getChildIterator, getCommunicationManager, getConnectionsManager, getDeviceInfo, getDeviceIO, getDiscoveryManager, getFuncFunc, getHgraphManager, getMediaManagers, getName, getNewInstanceNumber, getNewLocalSID, getNewLocalSIDString, getNodeName, getNodeParent, getPath, getPointToPointManager, getPubSubManager, getRemoteConnectManager, getResourceAddressingManager, getResourceManager, getResourceManager2, getResourceMonitor, getRoutingManager, getScheduler, getSiblingFunc, getValueFunc, hasChildNamed, isAncestorOf, removeNodeChild, removeService, removeSubList, serviceIterator, setAssemblyManager, setDeviceIO, setHeartBeatPeriod, setName, setNodeName, setNodeParent, setResourceManager, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContingencyDeviceContext

public ContingencyDeviceContext(DeviceContext context)
Method Detail

setContingencyMonitor

public void setContingencyMonitor(IContingencyMonitor contingencyMonitor)

getContingencyMonitor

public IContingencyMonitor getContingencyMonitor()

setContingencyManager

public void setContingencyManager(IContingencyManager contingnencyManager)

getContingencyManager

public IContingencyManager getContingencyManager()

setResourceDirectory

public void setResourceDirectory(IResourceDirectory resourceDirectory)

getResourceDirectory

public IResourceDirectory getResourceDirectory()