Package org.serviceconnector.call
Class SCMPSrvSubscribeCall
java.lang.Object
org.serviceconnector.call.SCMPCallAdapter
org.serviceconnector.call.SCMPSrvSubscribeCall
- All Implemented Interfaces:
ISCMPCall
The Class SCMPSrvSubscribeCall. Call subscribes on a backend server.
- Author:
- JTraber
-
Field Summary
Fields inherited from class org.serviceconnector.call.SCMPCallAdapter
requester, requestMessage, responseMessage, serviceName, sessionId -
Constructor Summary
ConstructorsConstructorDescriptionSCMPSrvSubscribeCall(IRequester requester, SCMPMessage receivedMessage) Instantiates a new SCMPSrvSubscribeCall. -
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
-
SCMPSrvSubscribeCall
Instantiates a new SCMPSrvSubscribeCall.- Parameters:
requester- 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
-