Table of Contents

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

stream Stream

The stream.

encoding Encoding

Text encoding.

Properties

BytesCount

Total read/write bytes.

public int BytesCount { get; set; }

Property Value

int

CheckSum

Check sum.

public uint CheckSum { get; set; }

Property Value

uint

CheckSumDisabled

CheckSum disabled.

public bool CheckSumDisabled { get; set; }

Property Value

bool

Encoding

Text encoding.

public Encoding Encoding { get; }

Property Value

Encoding

IsDump

Gets a value indicating whether the log incoming data required.

public bool IsDump { get; set; }

Property Value

bool

IsValueRead

Whether the tag value was read.

public bool IsValueRead { get; protected set; }

Property Value

bool

LastTag

Last tag.

public FixTags LastTag { get; protected set; }

Property Value

FixTags

MaxBytes

Gets and sets the maximum allowed bytes per read/write operation.

public int MaxBytes { get; set; }

Property Value

int

Stream

The stream.

public Stream Stream { get; }

Property Value

Stream

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 byte

New byte.

Dump(byte[], int, int)

Add to the data log a news byte.

protected void Dump(byte[] value, int index, int count)

Parameters

value byte[]

Buffer.

index int

Starting index.

count int

Count of bytes should be read.

FlushDump()

Get data log.

public string FlushDump()

Returns

string

Data log.