Package org.serviceconnector.call
Class SCMPClnChangeSubscriptionCall
java.lang.Object
org.serviceconnector.call.SCMPCallAdapter
org.serviceconnector.call.SCMPClnChangeSubscriptionCall
- All Implemented Interfaces:
ISCMPCall
The Class SCMPClnChangeSubscriptionCall. Call changes a subscription for a client.
- Author:
- JTraber
-
Field Summary
Fields inherited from class org.serviceconnector.call.SCMPCallAdapter
requester, requestMessage, responseMessage, serviceName, sessionId -
Constructor Summary
ConstructorsConstructorDescriptionSCMPClnChangeSubscriptionCall(IRequester req, String serviceName, String sessionId) Instantiates a new SCMPClnChangeSubscriptionCall. -
Method Summary
Modifier and TypeMethodDescriptionGets the message type.voidinvoke(ISCMPMessageCallback scmpCallback, int timeoutMillis) Invoke asynchronous.voidsetCompressed(boolean compressed) Sets the compression.voidSets the mask.voidsetRequestBody(Object obj) Sets the body.voidsetSessionInfo(String sessionInfo) Sets the session info.Methods inherited from class org.serviceconnector.call.SCMPCallAdapter
getRequest, getResponse
-
Constructor Details
-
SCMPClnChangeSubscriptionCall
Instantiates a new SCMPClnChangeSubscriptionCall.- Parameters:
req- the reqserviceName- the service namesessionId- the session id
-
-
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
-
setSessionInfo
Sets the session info.- Parameters:
sessionInfo- the new session info
-
setMask
Sets the mask.- Parameters:
mask- the new mask
-
setCompressed
public void setCompressed(boolean compressed) Sets the compression.- Parameters:
compressed- the compression
-
getMessageType
Gets the message type.- Returns:
- the message type
-