InMemoryMessageChannel
StockSharp.Messages
Message channel, based on the queue and operate within a single process.
Hereda de: Disposable
Implementa: IMessageChannel, IMessageTransport, IDisposable, ICloneable<IMessageChannel>, ICloneable
Constructores
InMemoryMessageChannel(IMessageQueue, string, Action<Exception>)
Initializes a new instance of the InMemoryMessageChannel.
- queue
- Message queue.
- name
- Channel name.
- errorHandler
- Error handler.
Propiedades
MessageCount : int
Message queue count.
State : ChannelStates
Gets the underlying state storage.
Métodos
Clone() : IMessageChannel
Creates a deep copy of a DataSeries
Close()
Closing price.
DisposeManaged()
Release resources.
Open()
Opening price.
Eventos
NewOutMessageAsync : Func<Message, CancellationToken, ValueTask>
New message event.
StateChanged : Action
State change event.