ChannelMessageAdapter
StockSharp.Messages
Message adapter, forward messages through a transport channel IMessageChannel.
Herda de: MessageAdapterWrapper
Construtores
ChannelMessageAdapter(IMessageAdapter, IMessageChannel, IMessageChannel)
Initializes a new instance of the ChannelMessageAdapter.
- innerAdapter
- Underlying adapter.
- inputChannel
- Incoming messages channel.
- outputChannel
- Outgoing message channel.
Propriedades
InputChannel : IMessageChannel
Adapter.
OutputChannel : IMessageChannel
Adapter.
OwnInputChannel : bool
Control the lifetime of the incoming messages channel.
OwnOutputChannel : bool
Control the lifetime of the outgoing messages channel.
Métodos
Dispose()
Disposes of items in the pool that implement IDisposable.
OnInnerAdapterNewOutMessageAsync(Message, CancellationToken) : ValueTask
Process InnerAdapter output message.
- message
- The message.
- cancellationToken
- Cancellation token.
OnSendInMessageAsync(Message, CancellationToken) : ValueTask
Send message.