ist.palcom.contingency.manager
Interface IContingencyManager

All Known Implementing Classes:
ContingencyManager

public interface IContingencyManager


Field Summary
static java.lang.String SERVICE_NAME
           
static java.lang.String URN_SUFFIX
           
 
Method Summary
 PalcomThread getContingencyThread()
          Return a thread responsible for dealing with contingency issues.
 void monitorAssembly(PRDAssemblyVer ai)
           
 void putContingencyEvent(ContingencyEvent event)
          Receive a contingency event for handling.
 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 PRDAssembly.
 void registerResourceDirectoryThread(PalcomThread t)
          Register a thread to query for resources.
 void start()
           
 void stop()
           
 void stopMonitoringAssembly(PRDAssemblyVer ai)
          Stops monitoring the assembly.
 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)
          Unregister the thread receiving queries for resources.
 

Field Detail

URN_SUFFIX

static final java.lang.String URN_SUFFIX
See Also:
Constant Field Values

SERVICE_NAME

static final java.lang.String SERVICE_NAME
See Also:
Constant Field Values
Method Detail

putContingencyEvent

void putContingencyEvent(ContingencyEvent event)
Receive a contingency event for handling.


start

void start()
           throws java.io.IOException
Throws:
java.io.IOException

stop

void stop()
          throws java.io.IOException
Throws:
java.io.IOException

registerEditCommandReceiverThread

void registerEditCommandReceiverThread(PalcomThread t)
Register a thread that receives edit commands to apply changes to the PRDAssembly.

Parameters:
t - - The receiver thread.

unregisterEditCommandReceiverThread

void unregisterEditCommandReceiverThread(PalcomThread t)
Unregister the thread receiving edit commands.

Parameters:
t - - The receiver thread.

registerContingencyMonitoringThread

void registerContingencyMonitoringThread(PalcomThread t)
Register a thread that receives requests for contingency event monitoring.

Parameters:
t - - The receiver thread.

unregisterContingencyMonitoringThread

void unregisterContingencyMonitoringThread(PalcomThread t)
Unregister the thread receiving requests for contingency event monitoring.

Parameters:
t - - The receiver thread.

registerResourceDirectoryThread

void registerResourceDirectoryThread(PalcomThread t)
Register a thread to query for resources.

Parameters:
t - - The receiver thread.

unregisterResourceDirectoryThread

void unregisterResourceDirectoryThread(PalcomThread t)
Unregister the thread receiving queries for resources.

Parameters:
t - - The receiver thread.

getContingencyThread

PalcomThread getContingencyThread()
Return a thread responsible for dealing with contingency issues.

Returns:
The contingency thread.

monitorAssembly

void monitorAssembly(PRDAssemblyVer ai)

stopMonitoringAssembly

void stopMonitoringAssembly(PRDAssemblyVer ai)
Stops monitoring the assembly.