Table of Contents

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 Message

Message.

TryDequeue(out Message, bool, bool)

Try dequeue a message.

bool TryDequeue(out Message message, bool exitOnClose = true, bool block = true)

Parameters

message Message

Message.

exitOnClose bool

Exit from method if the queue closed.

block bool

Block the operation.

Returns

bool

Operation result.