Creates the duplex output channel sending messages to the duplex input channel and receiving response messages.
Namespace: Eneter.Messaging.MessagingSystems.MessagingSystemBaseAssembly: Eneter.Messaging.Framework (in Eneter.Messaging.Framework.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax
| C# |
|---|
IDuplexOutputChannel CreateDuplexOutputChannel( string channelId, string responseReceiverId ) |
| Visual Basic |
|---|
Function CreateDuplexOutputChannel ( _ channelId As String, _ responseReceiverId As String _ ) As IDuplexOutputChannel |
| Visual C++ |
|---|
IDuplexOutputChannel^ CreateDuplexOutputChannel( String^ channelId, String^ responseReceiverId ) |
Parameters
- channelId
- Type: System..::..String
identifies the receiving duplex input channel
- responseReceiverId
- Type: System..::..String
unique identifier of the response receiver represented by this duplex output channel.
Return Value
duplex output channel
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.