ist.palcom.assemblies
Interface IAssemblyManager

All Superinterfaces:
CommandEventListener, IHgraphNode
All Known Implementing Classes:
AssemblyManager, EclipseAssemblyManager, PalBoxAssemblyManager

public interface IAssemblyManager
extends CommandEventListener, IHgraphNode


Field Summary
static java.lang.String COMMAND_ADD_DECL
           
static java.lang.String COMMAND_ASSEMBLYINFO
           
static java.lang.String COMMAND_LIST_LOADED
           
static java.lang.String COMMAND_LIST_STORED
           
static java.lang.String COMMAND_LOAD
           
static java.lang.String COMMAND_LOAD_ID
           
static java.lang.String COMMAND_LOADED_ASSEMBLIES
           
static java.lang.String COMMAND_LOADED_COUNT_IN
           
static java.lang.String COMMAND_LOADED_COUNT_OUT
           
static java.lang.String COMMAND_READ_LOADED
           
static java.lang.String COMMAND_REM_DECL
           
static java.lang.String COMMAND_STORE
           
static java.lang.String COMMAND_STORED_ASSEMBLIES
           
static java.lang.String COMMAND_STORED_COUNT_IN
           
static java.lang.String COMMAND_STORED_COUNT_OUT
           
static java.lang.String COMMAND_UNLOAD
           
static java.lang.String COMMAND_UNLOAD_ALL
           
static java.lang.String COMMAND_UPDATE
           
static boolean ENABLE_UPDATE_SERVICE
           
static java.lang.String SERVICE_NAME
           
static java.lang.String URN_SUFFIX
           
 
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
 
Method Summary
 Assembly checkIfUpdateToRunning(PRDAssemblyVer ai)
           
 PRDAssemblyD checkIfUpdateToStored(PRDAssemblyVer ai)
           
 void doAddDeclCommand(java.lang.String idxStr, java.lang.String decl)
           
 void doRemDeclCommand(java.lang.String idxStr, java.lang.String decl)
           
 PalcomThread getEditCommandReceiverThread()
          Returns a palcom thread responsible for receiving and executing edit commands for (running) assemblies
 ServiceProxy getServiceProxy()
           
 void loadAssembly(PRDAssemblyVer ai)
           
 byte[] readAssembly(int index)
           
 void registerContingencyManagerThread(PalcomThread t)
           
 void removeAssemblies()
           
 void start()
           
 void stop()
           
 void stopAssembly(Assembly a)
           
 void unregisterContingencyManagerThread(PalcomThread t)
          Unregister the receiver thread
 
Methods inherited from interface ist.palcom.services.CommandEventListener
commandReceived
 
Methods inherited from interface ist.palcom.hgraph.IHgraphNode
addNodeChild, getChildIterator, getFuncFunc, getNodeName, getNodeParent, getPath, getSiblingFunc, getValueFunc, hasChildNamed, isAncestorOf, removeNodeChild, setNodeName, setNodeParent, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath
 

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

COMMAND_LOADED_COUNT_IN

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

COMMAND_LOADED_COUNT_OUT

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

COMMAND_LIST_LOADED

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

COMMAND_STORED_ASSEMBLIES

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

COMMAND_STORED_COUNT_IN

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

COMMAND_STORED_COUNT_OUT

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

COMMAND_LIST_STORED

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

COMMAND_LOADED_ASSEMBLIES

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

COMMAND_UNLOAD_ALL

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

COMMAND_UNLOAD

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

COMMAND_LOAD

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

COMMAND_LOAD_ID

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

COMMAND_READ_LOADED

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

COMMAND_STORE

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

COMMAND_ASSEMBLYINFO

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

COMMAND_UPDATE

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

COMMAND_ADD_DECL

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

COMMAND_REM_DECL

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

ENABLE_UPDATE_SERVICE

static final boolean ENABLE_UPDATE_SERVICE
See Also:
Constant Field Values
Method Detail

readAssembly

byte[] readAssembly(int index)

doAddDeclCommand

void doAddDeclCommand(java.lang.String idxStr,
                      java.lang.String decl)

doRemDeclCommand

void doRemDeclCommand(java.lang.String idxStr,
                      java.lang.String decl)

loadAssembly

void loadAssembly(PRDAssemblyVer ai)

stopAssembly

void stopAssembly(Assembly a)

removeAssemblies

void removeAssemblies()

start

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

stop

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

getServiceProxy

ServiceProxy getServiceProxy()

checkIfUpdateToRunning

Assembly checkIfUpdateToRunning(PRDAssemblyVer ai)

checkIfUpdateToStored

PRDAssemblyD checkIfUpdateToStored(PRDAssemblyVer ai)

registerContingencyManagerThread

void registerContingencyManagerThread(PalcomThread t)

unregisterContingencyManagerThread

void unregisterContingencyManagerThread(PalcomThread t)
Unregister the receiver thread

Parameters:
t - - the thread

getEditCommandReceiverThread

PalcomThread getEditCommandReceiverThread()
Returns a palcom thread responsible for receiving and executing edit commands for (running) assemblies