Class SCMPSessionCompositeRegistry

java.lang.Object
org.serviceconnector.registry.Registry<String,SCMPSessionCompositeItem>
org.serviceconnector.net.res.SCMPSessionCompositeRegistry
All Implemented Interfaces:
IRegistryMXBean

public final class SCMPSessionCompositeRegistry extends Registry<String,SCMPSessionCompositeItem>
The Class SCMPSessionCompositeRegistry. Stores composite components (large response/requests) of a communication to resume at the time it gets active again.
Author:
JTraber
  • Constructor Details

    • SCMPSessionCompositeRegistry

      public SCMPSessionCompositeRegistry()
  • Method Details

    • addSession

      public void addSession(String key)
      Adds the session.
      Parameters:
      key - the key
    • removeSession

      public void removeSession(String key)
      Removes the session.
      Parameters:
      key - the key
    • addSCMPLargeRequest

      public void addSCMPLargeRequest(String key, SCMPCompositeReceiver largeRequest, int largeMessageTimeoutMillis)
      Adds the scmp large request.
      Parameters:
      key - the key
      largeRequest - the large request
    • getSCMPLargeRequest

      public SCMPCompositeReceiver getSCMPLargeRequest(String key)
      Gets the SCMP large request.
      Parameters:
      key - the key
      Returns:
      the SCMP large request
    • removeSCMPLargeRequest

      public void removeSCMPLargeRequest(String key)
      Removes the scmp large request.
      Parameters:
      key - the key
    • addSCMPLargeResponse

      public void addSCMPLargeResponse(String key, SCMPCompositeSender largeResponse, int largeMessageTimeoutMillis)
      Adds the SCMP large response.
      Parameters:
      key - the key
      largeResponse - the large response
    • getSCMPLargeResponse

      public SCMPCompositeSender getSCMPLargeResponse(String key)
      Gets the SCMP large response.
      Parameters:
      key - the key
      Returns:
      the SCMP large response
    • removeSCMPLargeResponse

      public void removeSCMPLargeResponse(String key)
      Removes the scmp large response.
      Parameters:
      key - the key
    • getSCMPMsgSequenceNr

      public SCMPMessageSequenceNr getSCMPMsgSequenceNr(String key)
      Gets the SCMP message id.
      Parameters:
      key - the key
      Returns:
      the SCMP message id