Skip to content

Keep Class

sequenze edited this page Jun 15, 2017 · 3 revisions

Implements the mechanisms to support the KEEP connection scheme.

Inheritance Hierarchy

Object > ConnectionModeBase

Syntax

public sealed class Keep : ConnectionModeBase, IConnectionMode

Methods

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.

See Also

ConnectionModeBase, IConnectionMode, IOperationMap, IMessage

Clone this wiki locally