Class SCMPClnChangeSubscriptionCall

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

public class SCMPClnChangeSubscriptionCall extends SCMPCallAdapter
The Class SCMPClnChangeSubscriptionCall. Call changes a subscription for a client.
Author:
JTraber
  • Constructor Details

    • SCMPClnChangeSubscriptionCall

      public SCMPClnChangeSubscriptionCall(IRequester req, String serviceName, String sessionId)
      Instantiates a new SCMPClnChangeSubscriptionCall.
      Parameters:
      req - the req
      serviceName - the service name
      sessionId - the session id
  • Method Details

    • invoke

      public void invoke(ISCMPMessageCallback scmpCallback, int timeoutMillis) throws Exception
      Invoke asynchronous.
      Specified by:
      invoke in interface ISCMPCall
      Overrides:
      invoke in class SCMPCallAdapter
      Parameters:
      scmpCallback - the callback
      timeoutMillis - the timeout in milliseconds
      Throws:
      Exception - the exception
    • 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
    • setSessionInfo

      public void setSessionInfo(String sessionInfo)
      Sets the session info.
      Parameters:
      sessionInfo - the new session info
    • setMask

      public void setMask(String mask)
      Sets the mask.
      Parameters:
      mask - the new mask
    • setCompressed

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

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