Package org.serviceconnector.call
Class SCMPInspectCall
java.lang.Object
org.serviceconnector.call.SCMPCallAdapter
org.serviceconnector.call.SCMPInspectCall
- All Implemented Interfaces:
ISCMPCall
The Class SCMPInspectCall. Call inspects SC. Used for testing to assure operations are done properly.
- Author:
- JTraber
-
Field Summary
Fields inherited from class org.serviceconnector.call.SCMPCallAdapter
requester, requestMessage, responseMessage, serviceName, sessionId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the message type.voidinvoke(ISCMPMessageCallback scmpCallback, int timeoutMillis) Invoke asynchronous.voidsetCompressed(boolean compressed) Sets the compression.voidsetRequestBody(Object obj) Sets the body.Methods inherited from class org.serviceconnector.call.SCMPCallAdapter
getRequest, getResponse
-
Constructor Details
-
SCMPInspectCall
Instantiates a new SCMPInspectCall.- Parameters:
req- the requester to use when invoking call
-
-
Method Details
-
invoke
Invoke asynchronous.- Specified by:
invokein interfaceISCMPCall- Overrides:
invokein classSCMPCallAdapter- Parameters:
scmpCallback- the callbacktimeoutMillis- the timeout in milliseconds- Throws:
Exception- the exception
-
setRequestBody
Sets the body.- Specified by:
setRequestBodyin interfaceISCMPCall- Overrides:
setRequestBodyin classSCMPCallAdapter- Parameters:
obj- the new body
-
setCompressed
public void setCompressed(boolean compressed) Sets the compression.- Parameters:
compressed- the compression
-
getMessageType
Gets the message type.- Returns:
- the message type
-