Class HeartbeatMessageAdapter
- Namespace
- StockSharp.Algo
- Assembly
- StockSharp.Algo.dll
The messages adapter controlling the connection.
public class HeartbeatMessageAdapter : MessageAdapterWrapper, IMessageAdapterWrapper, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable
- Inheritance
-
HeartbeatMessageAdapter
- Implements
-
ICloneable<IMessageChannel>IPersistable
- Inherited Members
- Extension Methods
Constructors
HeartbeatMessageAdapter(IMessageAdapter)
Initializes a new instance of the HeartbeatMessageAdapter.
public HeartbeatMessageAdapter(IMessageAdapter innerAdapter)
Parameters
innerAdapter
IMessageAdapterUnderlying adapter.
Properties
SuppressReconnectingErrors
Suppress reconnecting errors.
public bool SuppressReconnectingErrors { get; set; }
Property Value
Methods
Clone()
Create a copy of HeartbeatMessageAdapter.
public override IMessageChannel Clone()
Returns
- IMessageChannel
Copy.
OnInnerAdapterNewOutMessage(Message)
Process InnerAdapter output message.
protected override void OnInnerAdapterNewOutMessage(Message message)
Parameters
message
MessageThe message.
OnSendInMessage(Message)
Send message.
protected override bool OnSendInMessage(Message message)
Parameters
message
MessageMessage.