Creates the duplex output channel sending messages to the duplex input channel and receiving response messages by using the thread pool.
Namespace: Eneter.Messaging.MessagingSystems.ThreadPoolMessagingSystemAssembly: Eneter.Messaging.Framework (in Eneter.Messaging.Framework.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax
| C# |
|---|
public IDuplexOutputChannel CreateDuplexOutputChannel( string channelId, string responseReceiverId ) |
| Visual Basic |
|---|
Public Function CreateDuplexOutputChannel ( _ channelId As String, _ responseReceiverId As String _ ) As IDuplexOutputChannel |
| Visual C++ |
|---|
public: virtual IDuplexOutputChannel^ CreateDuplexOutputChannel( String^ channelId, String^ responseReceiverId ) sealed |
Parameters
- channelId
- Type: System..::..String
Identifies the receiving duplex input channel.
- responseReceiverId
- Type: System..::..String
Identifies the response receiver of this duplex output channel.
Return Value
duplex output channelImplements
IMessagingSystemFactory..::..CreateDuplexOutputChannel(String, String)
Remarks
The duplex output channel is intended for the bidirectional communication.
Therefore, it can send messages to the duplex input channel and receive response messages.
The duplex input channel distinguishes duplex output channels according to the response receiver id. This method allows to specified a desired response receiver id. Please notice, the response receiver id is supposed to be unique.
The duplex output channel can communicate only with the duplex input channel and not with the input channel.
The duplex input channel distinguishes duplex output channels according to the response receiver id. This method allows to specified a desired response receiver id. Please notice, the response receiver id is supposed to be unique.
The duplex output channel can communicate only with the duplex input channel and not with the input channel.