Package org.serviceconnector.call
Class SCMPPublishCall
java.lang.Object
org.serviceconnector.call.SCMPCallAdapter
org.serviceconnector.call.SCMPPublishCall
- All Implemented Interfaces:
ISCMPCall
The Class SCMPPublishCall. Call publishes a message to clients.
- Author:
- JTraber
-
Field Summary
Fields inherited from class org.serviceconnector.call.SCMPCallAdapter
requester, requestMessage, responseMessage, serviceName, sessionId -
Constructor Summary
ConstructorsConstructorDescriptionSCMPPublishCall(IRequester req, String serviceName) Instantiates a new SCMPPublishCall. -
Method Summary
Modifier and TypeMethodDescriptionGets the message type.voidsetCacheId(String cacheId) Sets the cache id.voidsetCacheMethod(String cacheMethod) Sets the cache method.voidsetCompressed(boolean compressed) Sets the compression.voidSets the mask.voidsetMessageInfo(String messageInfo) Sets the message info.voidsetPartSize(int partSize) Sets the part size.voidsetRequestBody(Object obj) Sets the body.Methods inherited from class org.serviceconnector.call.SCMPCallAdapter
getRequest, getResponse, invoke
-
Constructor Details
-
SCMPPublishCall
Instantiates a new SCMPPublishCall.- Parameters:
req- the requesterserviceName- the service name
-
-
Method Details
-
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
-
setMask
Sets the mask.- Parameters:
mask- the new mask
-
setPartSize
public void setPartSize(int partSize) Sets the part size.- Parameters:
partSize- the size of the message parts
-
setMessageInfo
Sets the message info.- Parameters:
messageInfo- the new message info
-
setCacheMethod
Sets the cache method.- Parameters:
cacheMethod- the new cache method
-
setCacheId
Sets the cache id.- Parameters:
cacheId- the new cache id
-
getMessageType
Gets the message type.- Returns:
- the message type
-