Interface IMessageQueue
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
The interfaces described message queue.
public interface IMessageQueue : IBlockingQueue<(long, Message)>
- Extension Methods
Methods
Enqueue(Message)
Enqueue the specified message.
void Enqueue(Message message)
Parameters
message
MessageMessage.
TryDequeue(out Message, bool, bool)
Try dequeue a message.
bool TryDequeue(out Message message, bool exitOnClose = true, bool block = true)
Parameters
message
MessageMessage.
exitOnClose
boolExit from method if the queue closed.
block
boolBlock the operation.
Returns
- bool
Operation result.