Class SCMPClnSubscribeCall

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

public class SCMPClnSubscribeCall extends SCMPCallAdapter
The Class SCMPClnSubscribeCall. Call tries subscribing to a publish service.
Author:
JTraber
  • Constructor Details

    • SCMPClnSubscribeCall

      public SCMPClnSubscribeCall(IRequester requester, String serviceName)
      Instantiates a new SCMPClnSubscribeCall.
      Parameters:
      requester - the requester
      serviceName - the service name
  • 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
    • 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
    • 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

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

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