-
Notifications
You must be signed in to change notification settings - Fork 2
Keep Class
sequenze edited this page Jun 15, 2017
·
3 revisions
Implements the mechanisms to support the KEEP connection scheme.
Object > ConnectionModeBase
public sealed class Keep : ConnectionModeBase, IConnectionMode
Name | Description |
---|---|
ProcessRequest(IOperationMap) | Waits for an incoming message, then executes the corresponding operation concurrently. Once the operation completes, it transmits a response back. |
PerformRequest(IMessage) | Sends a request, and waits for a response matching the session. This is a blocking operation. |
ValidateResponse(IMessage) | Validates the passed response. If the message is a response and the response code is OK the message is returned; otherwise an exception is thrown. |
ValidateRequest(IMessage) | Validates the passed Request. If the message is a request the message is returned; otherwise an exception is thrown. |
ConnectionModeBase, IConnectionMode, IOperationMap, IMessage