Package org.serviceconnector.call
Class SCMPClnSubscribeCall
java.lang.Object
org.serviceconnector.call.SCMPCallAdapter
org.serviceconnector.call.SCMPClnSubscribeCall
- All Implemented Interfaces:
ISCMPCall
The Class SCMPClnSubscribeCall. Call tries subscribing to a publish service.
- Author:
- JTraber
-
Field Summary
Fields inherited from class org.serviceconnector.call.SCMPCallAdapter
requester, requestMessage, responseMessage, serviceName, sessionId -
Constructor Summary
ConstructorsConstructorDescriptionSCMPClnSubscribeCall(IRequester requester, String serviceName) Instantiates a new SCMPClnSubscribeCall. -
Method Summary
Modifier and TypeMethodDescriptionGets the message type.voidinvoke(ISCMPMessageCallback scmpCallback, int timeoutMillis) Invoke asynchronous.voidsetCompressed(boolean compressed) Sets the compression.voidSets the mask.voidsetNoDataIntervalSeconds(int noDataIntervalSeconds) Sets the no data interval seconds.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
-
SCMPClnSubscribeCall
Instantiates a new SCMPClnSubscribeCall.- Parameters:
requester- the requesterserviceName- the service name
-
-
Method Details
-
invoke
Invoke asynchronous.- Specified by:
invokein interfaceISCMPCall- Overrides:
invokein classSCMPCallAdapter- Parameters:
scmpCallback- the callbacktimeoutMillis- the timeout in milliseconds- Throws:
Exception- the exception
-
setSessionInfo
Sets the session info.- Parameters:
sessionInfo- the new session info
-
setMask
Sets the mask.- Parameters:
mask- the new mask
-
setNoDataIntervalSeconds
public void setNoDataIntervalSeconds(int noDataIntervalSeconds) Sets the no data interval seconds.- Parameters:
noDataIntervalSeconds- the new no data interval seconds
-
setCompressed
public void setCompressed(boolean compressed) Sets the compression.- Parameters:
compressed- the compression
-
setRequestBody
Sets the body.- Specified by:
setRequestBodyin interfaceISCMPCall- Overrides:
setRequestBodyin classSCMPCallAdapter- Parameters:
obj- the new body
-
getMessageType
Gets the message type.- Returns:
- the message type
-