Class SCMPPublishCall

java.lang.Object
org.serviceconnector.call.SCMPCallAdapter
org.serviceconnector.call.SCMPPublishCall
All Implemented Interfaces:
ISCMPCall

public class SCMPPublishCall extends SCMPCallAdapter
The Class SCMPPublishCall. Call publishes a message to clients.
Author:
JTraber
  • Constructor Details

    • SCMPPublishCall

      public SCMPPublishCall(IRequester req, String serviceName)
      Instantiates a new SCMPPublishCall.
      Parameters:
      req - the requester
      serviceName - the service name
  • Method Details

    • setRequestBody

      public void setRequestBody(Object obj)
      Sets the body.
      Specified by:
      setRequestBody in interface ISCMPCall
      Overrides:
      setRequestBody in class SCMPCallAdapter
      Parameters:
      obj - the new body
    • setCompressed

      public void setCompressed(boolean compressed)
      Sets the compression.
      Parameters:
      compressed - the compression
    • setMask

      public void setMask(String mask)
      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

      public void setMessageInfo(String messageInfo)
      Sets the message info.
      Parameters:
      messageInfo - the new message info
    • setCacheMethod

      public void setCacheMethod(String cacheMethod)
      Sets the cache method.
      Parameters:
      cacheMethod - the new cache method
    • setCacheId

      public void setCacheId(String cacheId)
      Sets the cache id.
      Parameters:
      cacheId - the new cache id
    • getMessageType

      public SCMPMsgType getMessageType()
      Gets the message type.
      Returns:
      the message type