Utility class to save and load session information from WS-ReliableMessaging 1.2. A session consists of a request and response sequence. This class is used by %SOAP.RM classes to do the work that must be done by a class in the %SYS package. The persistent operations in this class are used only on the service side. This class is used as a registered object for both the client and the service. This class is used internally by InterSystems IRIS. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class."
The endpoint of the web service to which this token applies
Received messages bit string.
Delivery Assurance: "ExactlyOnce", "AtLeastOnce", "AtMostOnce" or "".
Process no more messages after first gap
UTC expiration time in seconds
If InOrder true, deliver in order.
Inactivity timeout interval in seconds Defaults to 600 if not specified.
The maxiumum number of retries on client. Default is 4.
Last message number sent or received
Identifier for the request sequence
Identifier for the response sequence. ResponseIndentifier="" for a one way session.
The time in seconds to wait before retry on client. Default is 0.
Identifier of SecurityContextToken to be used to secure sequence
If true the entire Sequence must be protected by the same SSL session. This property is client only.
Session Terminated boolean
Convert bit string to acknowledgement ranges for this RM session
Check for gap in received messages
Check correct SCT (or no SCT) for this session
Remove expired RMSessions
Get message acknowledged state
Get acknowledgement ranges for this RM session
Retrieve the RMSession properties for token with this identifier from system wide global. See Save method description for details.
Log list of RMSessions
Update range to indicate last message sent successfully
Retrieve the RMSession with this identifier from system wide global. See Save method description for details.
Remove this RMSession from session list
Remove all RMSessions
Save this RMSession in a system wide global. The global format is: ^SYS("SOAPRMSession",RequestIdentifier)=$lb(type,ResponseIdentifier,ExpiresInSeconds,nextExpiresInSeconds,InactivityTimeout,AppliesTo,InOrder,DeliveryAssurance,SCTIdentifier,MessageNumber,Bits,Terminated,DiscardFollowingFirstGap) The index for cleanup is ^SYS("SOAPRMSession",0,NextExpiresInSeconds,RequestIdentifier)="" where NextExpiresInSeconds is the next expiration which is the smaller of ExpireInSeconds and InactivityTimeinSeconds and type is always = 1 for RMSession.
Set message acknowledged state
Set bit string from acknowledgement ranges for this RM session