|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.services.AbstractService
ist.palcom.contingency.ContingencyManager
public class ContingencyManager
| Field Summary | |
|---|---|
static java.lang.String |
SERVICE_NAME
|
static java.lang.String |
URN_SUFFIX
|
| Fields inherited from class ist.palcom.services.AbstractService |
|---|
_node, connectionsMonitor, context, info, selfTest, subserviceList |
| Fields inherited from interface ist.palcom.hgraph.IHgraphNode |
|---|
CHILD_NAME_CLASH, CIRCULARITY_CLASH, COMMAND_OR_NODE_MISSING, ERROR, HANDLER_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 | |
|---|---|
ContingencyManager(DeviceContext context,
java.lang.String urnLeaf,
java.lang.String serviceName)
|
|
| Method Summary | |
|---|---|
void |
commandReceived(CommandEvent event)
|
static ServiceProxy |
createServiceProxy(java.lang.String serviceName)
|
ist.palcom.contingency.ContingencyManager.ContingencyThread |
getContingencyThread()
Return a thread responsible for dealing with contingency issues. |
void |
putContingencyEvent(Event event)
|
void |
putMonitoringEvent(InfoEvent event)
|
void |
registerContingencyMonitoringThread(PalcomThread t)
Register a thread that receives requests for contingency event monitoring. |
void |
registerEditCommandReceiverThread(PalcomThread t)
Register a thread that receives edit commands to apply changes to the AssemblyInfo. |
void |
registerResourceDirectoryThread(PalcomThread t)
|
void |
registerResourceListener(URN urn)
|
void |
start()
Start the service. |
void |
stop()
|
void |
unregisterContingencyMonitoringThread(PalcomThread t)
Unregister the thread receiving requests for contingency event monitoring. |
void |
unregisterEditCommandReceiverThread(PalcomThread t)
Unregister the thread receiving edit commands. |
void |
unregisterResourceDirectoryThread(PalcomThread t)
|
void |
unregisterResourceListener(URN urn)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String URN_SUFFIX
public static final java.lang.String SERVICE_NAME
| Constructor Detail |
|---|
public ContingencyManager(DeviceContext context,
java.lang.String urnLeaf,
java.lang.String serviceName)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public static ServiceProxy createServiceProxy(java.lang.String serviceName)
public void commandReceived(CommandEvent event)
commandReceived in interface CommandEventListenerpublic void putMonitoringEvent(InfoEvent event)
public void putContingencyEvent(Event event)
public void start()
throws java.io.IOException
AbstractService
start in class AbstractServicejava.io.IOException
public void stop()
throws java.io.IOException
stop in class AbstractServicejava.io.IOExceptionpublic void registerEditCommandReceiverThread(PalcomThread t)
t - - The receiver thread.public void unregisterEditCommandReceiverThread(PalcomThread t)
t - - The receiver thread.public void registerContingencyMonitoringThread(PalcomThread t)
t - - The receiver thread.public void unregisterContingencyMonitoringThread(PalcomThread t)
t - - The receiver thread.public void registerResourceDirectoryThread(PalcomThread t)
public void unregisterResourceDirectoryThread(PalcomThread t)
public void registerResourceListener(URN urn)
public void unregisterResourceListener(URN urn)
public ist.palcom.contingency.ContingencyManager.ContingencyThread getContingencyThread()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||