-
Notifications
You must be signed in to change notification settings - Fork 2
Keep Class
sequenze edited this page Jun 19, 2017
·
3 revisions
Implements the mechanisms to support the KEEP connection scheme.
Object > ConnectionModeBase
public sealed class Keep : ConnectionModeBase, IConnectionMode
Name | Description |
---|---|
Keep(IProtocol,IEncoder) | Initializes a new instance of the Keep class. |
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, IProtocol, IEncoder, IOperationMap, IMessage