|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.services.AbstractService
ist.palcom.assemblies.Assembly
ist.palcom.assemblies.ScriptedAssembly
public class ScriptedAssembly
| Field Summary |
|---|
| Fields inherited from class ist.palcom.assemblies.Assembly |
|---|
assemblyVer, commandThread, connectionEstablished, debugService |
| Fields inherited from class ist.palcom.services.AbstractService |
|---|
_node, connectionsMonitor, context, info, siid |
| 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 | |
|---|---|
ScriptedAssembly(AssemblyDeviceContext context,
PRDAssemblyVer assemblyInfo,
int period)
This constructor also adds the assembly instance's sublist and services to the device context |
|
| Method Summary | |
|---|---|
protected void |
commandReceived(CommandEvent event)
Handle a CommandEvent received from a ServiceDescription. |
protected void |
connectionClosed(UnicastConnection connection)
Notification that a connection has been closed. |
protected void |
connectionCreated(UnicastConnection connection)
Notification that a new connection has been established. |
void |
start()
Start the assembly. |
void |
stop()
Stop the assembly. |
protected boolean |
validateScript()
Check that bound services have the messages used in the script, and that parameter lists match. |
| Methods inherited from class ist.palcom.assemblies.Assembly |
|---|
allConnectionsEstablished, doRequestConnection, doRequestConnection, doRequestConnections, doRequestDisconnection, doRequestDisconnection, doRequestDisconnections, getSelfTester, getServiceID, logClear, logMsg, replaceServiceDecl, setSelfTestResult, setThisReferencesToDeviceID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptedAssembly(AssemblyDeviceContext context,
PRDAssemblyVer assemblyInfo,
int period)
throws java.io.IOException
context - assemblyInfo - period -
java.io.IOException| Method Detail |
|---|
public void start()
throws java.io.IOException
start in class Assemblyjava.io.IOException
public void stop()
throws java.io.IOException
stop in class Assemblyjava.io.IOExceptionprotected boolean validateScript()
protected void commandReceived(CommandEvent event)
commandReceived in class Assemblyprotected void connectionCreated(UnicastConnection connection)
AbstractService
connectionCreated in class AbstractServiceprotected void connectionClosed(UnicastConnection connection)
AbstractService
connectionClosed in class AbstractService
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||