IUdpDialect

StockSharp.Fix.Dialects

The interface describing the dialect of the UDP protocol.

Реализует: IMessageAdapter, IMessageTransport, IPersistable, ILogReceiver, ILogSource, IDisposable, ICloneable<IMessageAdapter>, ICloneable

Свойства

DumpPacketOnError : bool

When true, logs the full UDP packet payload as Base64 when processing fails. Intended for diagnostics/deserialization of problematic packets.

MaxIncomingQueueSize : int

Maximum buffered incoming UDP packets per feed before new packets are dropped.

MaxIncrementalWrongOrder : int

Max incremental messages with wrong order before recovering start.

MaxRestoreCount : int

Max message count that can be restored.

MaxRestores : int

Max possible restores.

MaxSuspended : int

Max suspended messages.

MaxUdpDatagramSize : int

Maximum UDP datagram size.

UseUdpResnapshot : bool

Use UDP re-snapshot instead of TCP replay for restoring gaps.

Методы

AllocatePacket(ILogReceiver, int) : IMemoryOwner<byte>

To allocate a packet of the specified size.

logs
The log receiver to log information about memory pool status.
size
The size of the packet to allocate.

Возвращает: The packet.

CreateParser() : IUdpSettingsParser

Create a new instance of the IUdpSettingsParser class.

Возвращает: IUdpSettingsParser

LoadSettingsFromFile(IDictionary<string, UdpFeedGroup>)

Load settings from specified file.

feeds
UDP settings.