Package org.serviceconnector.call
Class SCMPRegisterServerCall
java.lang.Object
org.serviceconnector.call.SCMPCallAdapter
org.serviceconnector.call.SCMPRegisterServerCall
- All Implemented Interfaces:
ISCMPCall
The Class SCMPRegisterServerCall. Registers a server to a service.
- Author:
- JTraber
-
Field Summary
Fields inherited from class org.serviceconnector.call.SCMPCallAdapter
requester, requestMessage, responseMessage, serviceName, sessionId -
Constructor Summary
ConstructorsConstructorDescriptionSCMPRegisterServerCall(IRequester req, String serviceName) Instantiates a new SCMPRegisterServerCall. -
Method Summary
Modifier and TypeMethodDescriptionGets the message type.voidsetCheckRegistrationIntervalSeconds(int checkRegistrationIntervalSeconds) Sets the check registration interval seconds.voidsetImmediateConnect(boolean immediateConnect) Sets the immediate connect.voidsetKeepAliveIntervalSeconds(int keepAliveIntervalSeconds) Sets the keep alive interval.voidsetLocalDateTime(String localDateTime) Sets the local date time.voidsetMaxConnections(int maxConnections) Sets the max connections.voidsetMaxSessions(int maxSessions) Sets the max sessions.voidsetPortNumber(int portNumber) Sets the port number.voidsetUrlPath(String urlPath) voidsetVersion(String version) Sets the version.Methods inherited from class org.serviceconnector.call.SCMPCallAdapter
getRequest, getResponse, invoke, setRequestBody
-
Constructor Details
-
SCMPRegisterServerCall
Instantiates a new SCMPRegisterServerCall.- Parameters:
req- the requesters to use when invoking callserviceName- the service name
-
-
Method Details
-
setVersion
Sets the version.- Parameters:
version- the new version
-
setLocalDateTime
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
-
getMessageType
Gets the message type.- Returns:
- the message type
-