Show / Hide Table of Contents

Interface IMessageQueue

Интерфейс, описывающий очередь сообщений.

Namespace: StockSharp.Messages
Assembly: StockSharp.Messages.dll
Syntax
public interface IMessageQueue : IBlockingQueue<KeyValuePair<long, Message>>

Methods

Enqueue(Message)

Добавить в очередь сообщение.

Declaration
void Enqueue(Message message)
Parameters
Type Name Description
Message message

Message.

TryDequeue(out Message, Boolean, Boolean)

Попытаться достать из очереди сообщение.

Declaration
bool TryDequeue(out Message message, bool exitOnClose = true, bool block = true)
Parameters
Type Name Description
Message message

Message.

Boolean exitOnClose

Выйти из метода если очередь закрыта.

Boolean block

Блокировать операцию.

Returns
Type Description
Boolean

Результат операции.

Extension Methods

Paths.Serialize<T>(T, String)
Paths.Serialize<T>(T)
EditorExtensions.ToItemsSource(Object, Type, Nullable<Boolean>, Nullable<ListSortDirection>, Func<IItemsSourceItem, Boolean>, Func<Object, String>, Func<Object, String>)
XamlHelper.WpfCast<T>(Object)
XamlHelper.CopyToClipboard<T>(T)
XamlHelper.EnsureUIThread(Object)
☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾