Class AstsFixDialect
- Namespace
- StockSharp.Fix.Dialects.Moex.Asts
- Assembly
- StockSharp.Fix.dll
ASTS FIX protocol dialect.
[MediaIcon("moex_logo.svg")]
public abstract class AstsFixDialect : BaseFixDialect, IFixDialect, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, IDemoAdapter- Inheritance
- 
      
      
      
      
      
      AstsFixDialect
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
AstsFixDialect(IdGenerator)
Initializes a new instance of the AstsFixDialect.
protected AstsFixDialect(IdGenerator transactionIdGenerator)Parameters
- transactionIdGeneratorIdGenerator
- Transaction id generator. 
Properties
FeatureName
Feature name.
public override string FeatureName { get; }Property Value
PossibleSupportedMessages
Possible supported by adapter message types.
public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }Property Value
Methods
ApplyTimeInForce(ExecutionReport, ExecutionMessage, bool)
Apply time in force.
protected override bool ApplyTimeInForce(ExecutionReport report, ExecutionMessage msg, bool throwInvalid)Parameters
- reportExecutionReport
- msgExecutionMessage
- throwInvalidbool
Returns
IsLogoutError(string)
Check Logout contains error message.
protected override bool IsLogoutError(string text)Parameters
- textstring
- Text message. 
Returns
OnRead(IFixReader, string, Action<Message>)
Read next message from FIX protocol.
protected override bool? OnRead(IFixReader reader, string msgType, Action<Message> messageHandler)Parameters
- readerIFixReader
- The reader of data recorded in the FIX protocol format. 
- msgTypestring
- Message type. 
- messageHandlerAction<Message>
- Message handler. 
Returns
- bool?
- true, if the messages was read successfully, false to skip unknown message, null to break connection. 
OnWrite(IFixWriter, Message)
Write the specified message into FIX protocol.
protected override string OnWrite(IFixWriter writer, Message message)Parameters
- writerIFixWriter
- The recorder of data in the FIX protocol format. 
- messageMessage
- The message. 
Returns
- string
- FixMessages value. 
WriteSecurityId(IFixWriter, SecurityMessage)
Write security id.
protected abstract void WriteSecurityId(IFixWriter writer, SecurityMessage secMsg)Parameters
- writerIFixWriter
- FIX data writer. 
- secMsgSecurityMessage
- Security ID.