Class SCMPSessionCompositeItem

java.lang.Object
org.serviceconnector.net.res.SCMPSessionCompositeItem

public class SCMPSessionCompositeItem extends Object
The Class SCMPSessionCompositeItem. Item represents a value in SCMPSessionCompositeRegistry. Gives access to composite receiver/sender and in the context used SCMPMessageId.
Author:
JTraber
  • Constructor Details

    • SCMPSessionCompositeItem

      public SCMPSessionCompositeItem(String sessionId)
      Instantiates a new SCMP session composite item.
      Parameters:
      sessionId - the session id
  • Method Details

    • getSCMPLargeRequest

      public SCMPCompositeReceiver getSCMPLargeRequest()
      Gets the SCMP large response.
      Returns:
      the SCMP large response
    • getSCMPLargeResponse

      public SCMPCompositeSender getSCMPLargeResponse()
      Gets the SCMP large request.
      Returns:
      the SCMP large request
    • getMsgSequenceNr

      public SCMPMessageSequenceNr getMsgSequenceNr()
      Gets the msg sequence nr.
      Returns:
      the msg sequence nr
    • setSCMPLargeRequest

      public void setSCMPLargeRequest(SCMPCompositeReceiver largeRequest)
      Sets the SCMP large response.
      Parameters:
      largeRequest - the new SCMP large response
    • setSCMPLargeResponse

      public void setSCMPLargeResponse(SCMPCompositeSender largeResponse)
      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

      public String getSessionId()
      Gets the session id.
      Returns:
      the session id
    • getTimeout

      public ScheduledFuture<TimeoutWrapper> getTimeout()
      Gets the session timeout.
      Returns:
      the session timeout
    • setTimeout

      public void setTimeout(ScheduledFuture<TimeoutWrapper> timeout)
      Sets the session timeout.
      Parameters:
      timeout - the new session timeout