Package org.serviceconnector.net.res
Class SCMPSessionCompositeRegistry
java.lang.Object
org.serviceconnector.registry.Registry<String,SCMPSessionCompositeItem>
org.serviceconnector.net.res.SCMPSessionCompositeRegistry
- All Implemented Interfaces:
IRegistryMXBean
The Class SCMPSessionCompositeRegistry. Stores composite components (large response/requests) of a communication to resume at the time it gets active again.
- Author:
- JTraber
-
Field Summary
Fields inherited from class org.serviceconnector.registry.Registry
registryMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSCMPLargeRequest(String key, SCMPCompositeReceiver largeRequest, int largeMessageTimeoutMillis) Adds the scmp large request.voidaddSCMPLargeResponse(String key, SCMPCompositeSender largeResponse, int largeMessageTimeoutMillis) Adds the SCMP large response.voidaddSession(String key) Adds the session.Gets the SCMP large request.Gets the SCMP large response.Gets the SCMP message id.voidRemoves the scmp large request.voidRemoves the scmp large response.voidremoveSession(String key) Removes the session.Methods inherited from class org.serviceconnector.registry.Registry
containsKey, get, getEntries, getSize, keySet, keySetArray, put, remove, toString
-
Constructor Details
-
SCMPSessionCompositeRegistry
public SCMPSessionCompositeRegistry()
-
-
Method Details
-
addSession
Adds the session.- Parameters:
key- the key
-
removeSession
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 keylargeRequest- the large request
-
getSCMPLargeRequest
Gets the SCMP large request.- Parameters:
key- the key- Returns:
- the SCMP large request
-
removeSCMPLargeRequest
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 keylargeResponse- the large response
-
getSCMPLargeResponse
Gets the SCMP large response.- Parameters:
key- the key- Returns:
- the SCMP large response
-
removeSCMPLargeResponse
Removes the scmp large response.- Parameters:
key- the key
-
getSCMPMsgSequenceNr
Gets the SCMP message id.- Parameters:
key- the key- Returns:
- the SCMP message id
-