org.sandev.basics.structs
Class CallResponseStruct

java.lang.Object
  extended byorg.sandev.basics.structs.CallResponseStruct
Direct Known Subclasses:
CallResponse

public class CallResponseStruct
extends java.lang.Object

A CallResponse is an outgoing message paired with a description of the expected response. It is used as part of a TestScript to drive synchronous output.


Field Summary
protected  SandMessage query
          The outgoing message.
protected  MessageDescriptionStruct response
          A description of the expected response message.
protected  java.lang.String sourceInstanceName
          This is the instanceName of the target we are querying.
 
Constructor Summary
CallResponseStruct()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceInstanceName

protected java.lang.String sourceInstanceName
This is the instanceName of the target we are querying. The MessageDriver reads its outbound query information from the TestScript, rather than from its configuration parameters, since it may be querying a variety of different targets for different tests within a config.

The instance name must be specified as listed in the Configuration that holds the MessageDriver that is running the TestScript that contains this CallResponse.

declared default value: ""
declared invalid value: "SANDEV_INVALID_INSTANCENAME"
Length in characters, normal: 30 max: 80

query

protected SandMessage query
The outgoing message.


response

protected MessageDescriptionStruct response
A description of the expected response message.

Constructor Detail

CallResponseStruct

public CallResponseStruct()