Package org.serviceconnector.call
Class SCMPEchoCall
java.lang.Object
org.serviceconnector.call.SCMPCallAdapter
org.serviceconnector.call.SCMPEchoCall
- All Implemented Interfaces:
ISCMPCall
The Class SCMPEchoCall. Call sends an echo.
- Author:
- JTraber
-
Field Summary
Fields inherited from class org.serviceconnector.call.SCMPCallAdapter
requester, requestMessage, responseMessage, serviceName, sessionId -
Constructor Summary
ConstructorsConstructorDescriptionSCMPEchoCall(IRequester req, String serviceName, String sessionId) Instantiates a new SCMPEchoCall.SCMPEchoCall(Requester requester, SCMPMessage msgToSend) Instantiates a new sCMP echo call. -
Method Summary
Modifier and TypeMethodDescriptionGets the message type.voidinvoke(ISCMPMessageCallback scmpCallback, int timeoutMillis) Invoke asynchronous.Methods inherited from class org.serviceconnector.call.SCMPCallAdapter
getRequest, getResponse, setRequestBody
-
Constructor Details
-
SCMPEchoCall
Instantiates a new SCMPEchoCall.- Parameters:
req- the requester to use when invoking callserviceName- the service namesessionId- the session id
-
SCMPEchoCall
Instantiates a new sCMP echo call.- Parameters:
requester- the requestermsgToSend- the msg to send
-
-
Method Details
-
invoke
Invoke asynchronous.- Specified by:
invokein interfaceISCMPCall- Overrides:
invokein classSCMPCallAdapter- Parameters:
scmpCallback- the callbacktimeoutMillis- the timeout in milliseconds- Throws:
Exception- the exception
-
getMessageType
Gets the message type.- Returns:
- the message type
-