Class FixBase
- Namespace
- StockSharp.Fix.Native
- Assembly
- StockSharp.Fix.Core.dll
Data reader/writer base class.
public abstract class FixBase
- Inheritance
-
FixBase
- Derived
- Inherited Members
- Extension Methods
Constructors
FixBase(Stream, Encoding)
Initialize FixBase.
protected FixBase(Stream stream, Encoding encoding)
Parameters
Properties
BytesCount
Total read/write bytes.
public int BytesCount { get; set; }
Property Value
CheckSum
Check sum.
public uint CheckSum { get; set; }
Property Value
CheckSumDisabled
CheckSum disabled.
public bool CheckSumDisabled { get; set; }
Property Value
Encoding
Text encoding.
public Encoding Encoding { get; }
Property Value
IsDump
Gets a value indicating whether the log incoming data required.
public bool IsDump { get; set; }
Property Value
IsValueRead
Whether the tag value was read.
public bool IsValueRead { get; protected set; }
Property Value
LastTag
Last tag.
public FixTags LastTag { get; protected set; }
Property Value
MaxBytes
Gets and sets the maximum allowed bytes per read/write operation.
public int MaxBytes { get; set; }
Property Value
Stream
The stream.
public Stream Stream { get; }
Property Value
Methods
ClearState()
Clear state.
public virtual void ClearState()
Dump(byte)
Add to the data log a new byte.
protected void Dump(byte value)
Parameters
value
byteNew byte.
Dump(byte[], int, int)
Add to the data log a news byte.
protected void Dump(byte[] value, int index, int count)
Parameters
FlushDump()
Get data log.
public string FlushDump()
Returns
- string
Data log.