Package org.serviceconnector.net.res
Class SCMPSessionCompositeItem
java.lang.Object
org.serviceconnector.net.res.SCMPSessionCompositeItem
The Class SCMPSessionCompositeItem. Item represents a value in SCMPSessionCompositeRegistry. Gives access to composite receiver/sender and in the context used SCMPMessageId.
- Author:
- JTraber
-
Constructor Summary
ConstructorsConstructorDescriptionSCMPSessionCompositeItem(String sessionId) Instantiates a new SCMP session composite item. -
Method Summary
Modifier and TypeMethodDescriptionintGets the large message timeout.Gets the msg sequence nr.Gets the SCMP large response.Gets the SCMP large request.Gets the session id.Gets the session timeout.voidsetLargeMessageTimeoutMillis(int largeMessageTimeoutMillis) Sets the large message timeout millis.voidsetSCMPLargeRequest(SCMPCompositeReceiver largeRequest) Sets the SCMP large response.voidsetSCMPLargeResponse(SCMPCompositeSender largeResponse) Sets the large request.voidsetTimeout(ScheduledFuture<TimeoutWrapper> timeout) Sets the session timeout.
-
Constructor Details
-
SCMPSessionCompositeItem
Instantiates a new SCMP session composite item.- Parameters:
sessionId- the session id
-
-
Method Details
-
getSCMPLargeRequest
Gets the SCMP large response.- Returns:
- the SCMP large response
-
getSCMPLargeResponse
Gets the SCMP large request.- Returns:
- the SCMP large request
-
getMsgSequenceNr
Gets the msg sequence nr.- Returns:
- the msg sequence nr
-
setSCMPLargeRequest
Sets the SCMP large response.- Parameters:
largeRequest- the new SCMP large response
-
setSCMPLargeResponse
Sets the large request.- Parameters:
largeResponse- the new large request
-
setLargeMessageTimeoutMillis
public void setLargeMessageTimeoutMillis(int largeMessageTimeoutMillis) Sets the large message timeout millis.- Parameters:
largeMessageTimeoutMillis- the new large message timeout millis
-
getLargeMessageTimeoutMillis
public int getLargeMessageTimeoutMillis()Gets the large message timeout.- Returns:
- the large message timeout
-
getSessionId
Gets the session id.- Returns:
- the session id
-
getTimeout
Gets the session timeout.- Returns:
- the session timeout
-
setTimeout
Sets the session timeout.- Parameters:
timeout- the new session timeout
-