INetworkClient

StockSharp.Fix.Native

Interface for UDP network clients.

Implements: ILogReceiver, ILogSource, IDisposable

Properties

Dialect
public IUdpDialect Dialect { get; }
value = iNetworkClient.Dialect

Gets the UDP dialect associated with this client.

IsEnabled
public bool IsEnabled { get; }
value = iNetworkClient.IsEnabled

Gets a value indicating whether the client is enabled.

Methods

Connect
public void Connect()
iNetworkClient.Connect()

Connects the client using the specified serializer.

Disconnect
public void Disconnect()
iNetworkClient.Disconnect()

Disconnects the client.

ErrorHandler
public void ErrorHandler(Exception e, int numErrors, bool isFatal)
iNetworkClient.ErrorHandler(e, numErrors, isFatal)

Handles errors that occur during packet processing.

e
The exception encountered.
numErrors
The error count.
isFatal
Indicates whether the error is fatal.