Package org.serviceconnector.call
Class SCMPSrvCreateSessionCall
java.lang.Object
org.serviceconnector.call.SCMPCallAdapter
org.serviceconnector.call.SCMPSrvCreateSessionCall
- All Implemented Interfaces:
ISCMPCall
The Class SCMPSrvCreateSessionCall. Call tries getting a session on a backend server.
- Author:
- JTraber
-
Field Summary
Fields inherited from class org.serviceconnector.call.SCMPCallAdapter
requester, requestMessage, responseMessage, serviceName, sessionId -
Constructor Summary
ConstructorsConstructorDescriptionSCMPSrvCreateSessionCall(IRequester req, SCMPMessage receivedMessage) Instantiates a new SCMPSrvCreateSessionCall. -
Method Summary
Modifier and TypeMethodDescriptionGets the message type.voidinvoke(ISCMPMessageCallback scmpCallback, int timeoutMillis) Invoke asynchronous.voidsetCompressed(boolean compressed) Sets the compression.Methods inherited from class org.serviceconnector.call.SCMPCallAdapter
getRequest, getResponse, setRequestBody
-
Constructor Details
-
SCMPSrvCreateSessionCall
Instantiates a new SCMPSrvCreateSessionCall.- Parameters:
req- the requesterreceivedMessage- the received message
-
-
Method Details
-
invoke
Invoke asynchronous.- Specified by:
invokein interfaceISCMPCall- Overrides:
invokein classSCMPCallAdapter- Parameters:
scmpCallback- the callbacktimeoutMillis- the timeout in milliseconds- Throws:
Exception- the exception
-
setCompressed
public void setCompressed(boolean compressed) Sets the compression.- Parameters:
compressed- the compression
-
getMessageType
Gets the message type.- Returns:
- the message type
-