Class OfflineMessageAdapter
- Namespace
- StockSharp.Algo
- Assembly
- StockSharp.Algo.dll
The messages adapter keeping message until connection will be done.
public class OfflineMessageAdapter : MessageAdapterWrapper, IMessageAdapterWrapper, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable
- Inheritance
-
OfflineMessageAdapter
- Implements
-
ICloneable<IMessageChannel>IPersistable
- Derived
- Inherited Members
- Extension Methods
Constructors
OfflineMessageAdapter(IMessageAdapter)
Initializes a new instance of the OfflineMessageAdapter.
public OfflineMessageAdapter(IMessageAdapter innerAdapter)
Parameters
innerAdapter
IMessageAdapterUnderlying adapter.
Properties
MaxMessageCount
Max message queue count. The default value is 10000.
public int MaxMessageCount { get; set; }
Property Value
Remarks
Value set to -1 corresponds to the size without limitations.
SendInBackFurther
Auto send BackMode messages to InnerAdapter.
protected override bool SendInBackFurther { get; }
Property Value
Methods
Clone()
Create a copy of OfflineMessageAdapter.
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.