IUdpDialect

StockSharp.Fix.Dialects

The interface describing the dialect of the UDP protocol.

Implements: IMessageAdapter, IMessageTransport, IPersistable, ILogReceiver, ILogSource, IDisposable, ICloneable<IMessageAdapter>, ICloneable

Properties

DumpPacketOnError
public bool DumpPacketOnError { get; set; }
value = iUdpDialect.DumpPacketOnError
iUdpDialect.DumpPacketOnError = value

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

Feeds
public IList<IUdpNetworkFeed> Feeds { get; }
value = iUdpDialect.Feeds

Feeds.

MaxIncomingQueueSize
public int MaxIncomingQueueSize { get; set; }
value = iUdpDialect.MaxIncomingQueueSize
iUdpDialect.MaxIncomingQueueSize = value

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

MaxIncrementalWrongOrder
public int MaxIncrementalWrongOrder { get; set; }
value = iUdpDialect.MaxIncrementalWrongOrder
iUdpDialect.MaxIncrementalWrongOrder = value

Max incremental messages with wrong order before recovering start.

MaxRestoreCount
public int MaxRestoreCount { get; set; }
value = iUdpDialect.MaxRestoreCount
iUdpDialect.MaxRestoreCount = value

Max message count that can be restored.

MaxRestores
public int MaxRestores { get; set; }
value = iUdpDialect.MaxRestores
iUdpDialect.MaxRestores = value

Max possible restores.

MaxSuspended
public int MaxSuspended { get; set; }
value = iUdpDialect.MaxSuspended
iUdpDialect.MaxSuspended = value

Max suspended messages.

MaxUdpDatagramSize
public int MaxUdpDatagramSize { get; set; }
value = iUdpDialect.MaxUdpDatagramSize
iUdpDialect.MaxUdpDatagramSize = value

Maximum UDP datagram size.

UseUdpResnapshot
public bool UseUdpResnapshot { get; set; }
value = iUdpDialect.UseUdpResnapshot
iUdpDialect.UseUdpResnapshot = value

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

Methods

AllocatePacket
public IMemoryOwner<byte> AllocatePacket(ILogReceiver logs, int size)
result = iUdpDialect.AllocatePacket(logs, size)

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.

Returns: The packet.

CreateParser
public IUdpSettingsParser CreateParser()
result = iUdpDialect.CreateParser()

Create a new instance of the IUdpSettingsParser class.

Returns: IUdpSettingsParser

LoadSettingsFromFile
public void LoadSettingsFromFile(IDictionary<string, UdpFeedGroup> feeds)
iUdpDialect.LoadSettingsFromFile(feeds)

Load settings from specified file.

feeds
UDP settings.