Class SCMPRegisterServerCall

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

public class SCMPRegisterServerCall extends SCMPCallAdapter
The Class SCMPRegisterServerCall. Registers a server to a service.
Author:
JTraber
  • Constructor Details

    • SCMPRegisterServerCall

      public SCMPRegisterServerCall(IRequester req, String serviceName)
      Instantiates a new SCMPRegisterServerCall.
      Parameters:
      req - the requesters to use when invoking call
      serviceName - the service name
  • Method Details

    • setVersion

      public void setVersion(String version)
      Sets the version.
      Parameters:
      version - the new version
    • setLocalDateTime

      public void setLocalDateTime(String localDateTime)
      Sets the local date time.
      Parameters:
      localDateTime - the new local date time
    • setMaxSessions

      public void setMaxSessions(int maxSessions)
      Sets the max sessions.
      Parameters:
      maxSessions - the new max sessions
    • setMaxConnections

      public void setMaxConnections(int maxConnections)
      Sets the max connections.
      Parameters:
      maxConnections - the new max connections
    • setKeepAliveIntervalSeconds

      public void setKeepAliveIntervalSeconds(int keepAliveIntervalSeconds)
      Sets the keep alive interval.
      Parameters:
      keepAliveIntervalSeconds - the new keep alive interval
    • setCheckRegistrationIntervalSeconds

      public void setCheckRegistrationIntervalSeconds(int checkRegistrationIntervalSeconds)
      Sets the check registration interval seconds.
      Parameters:
      checkRegistrationIntervalSeconds - the new check registration interval seconds
    • setPortNumber

      public void setPortNumber(int portNumber)
      Sets the port number.
      Parameters:
      portNumber - the new port number
    • setImmediateConnect

      public void setImmediateConnect(boolean immediateConnect)
      Sets the immediate connect.
      Parameters:
      immediateConnect - the new immediate connect
    • setUrlPath

      public void setUrlPath(String urlPath)
    • getMessageType

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