|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.basics.MessageDriver.MessageDriverNodeDecl
public class MessageDriverNodeDecl
MessageDriver generates outgoing messages and checks incoming messages in accordance with the TestScript specifications. At the conclusion of the script it signals for systemwide shutdown with the appropriate error code from the Controllable interface.
When a node is being unit tested, it is configured with all of its messaging parameters set to the MessageDriver instance, so the driver can respond to all node I/O.
outbound synchronous message calls:
SandMessage callDefaultSyncDestination(SandMessage msg)inbound synchronous message calls:
SandMessage onReceive(SandMessage msg)outbound asynchronous message sends:
void send(SandMessage msg)inbound asynchronous message calls:
void onDelivery(SandMessage msg)| Field Summary | |
|---|---|
protected java.lang.String |
instClassEnumName
The fully qualified name of the InstanceClassEnumerator to use for message translation. |
protected int |
maxTestWaitSeconds
The maximum number of seconds to wait for a test to complete before giving up and returning a timeout status. |
protected int |
pollingIntervalSeconds
The number of seconds to wait between checking whether the test has completed. |
protected java.util.Date |
startupTime
Override value for the startup time, used to compute an offset from the current system time for use in time sensitive tests. |
protected java.lang.String |
testScriptFilename
The full file specification of the script to be run. |
protected java.lang.String |
uniqueIDMgrName
The fully qualified name of the UniqueIDManager implementation to use for remapping IDs for default AggregateUpdate processing. |
| Constructor Summary | |
|---|---|
MessageDriverNodeDecl()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String testScriptFilename
protected java.lang.String instClassEnumName
protected java.lang.String uniqueIDMgrName
protected int maxTestWaitSeconds
protected int pollingIntervalSeconds
protected java.util.Date startupTime
The value of this parameter can be modified at runtime through a TestAction with a targetNodeOverride of "this". The startup time is changed and the offset recalculated dynamically without restarting the node.
| Constructor Detail |
|---|
public MessageDriverNodeDecl()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||