Table of Contents

Interface IFixWriter

Namespace
StockSharp.Fix.Native
Assembly
StockSharp.Fix.Core.dll

The interface describing the recorder of data in the FIX protocol format.

public interface IFixWriter
Extension Methods

Properties

BytesCount

The number of bytes write.

int BytesCount { get; set; }

Property Value

int

CheckSum

Check sum.

uint CheckSum { get; set; }

Property Value

uint

CheckSumDisabled

CheckSum disabled.

bool CheckSumDisabled { get; set; }

Property Value

bool

Encoding

Text encoding.

Encoding Encoding { get; }

Property Value

Encoding

IsDump

Gets a value indicating whether the log incoming data required.

bool IsDump { get; set; }

Property Value

bool

LastTag

Last written tag.

FixTags LastTag { get; }

Property Value

FixTags

Stream

The stream.

Stream Stream { get; }

Property Value

Stream

Methods

ClearState()

Clear state.

void ClearState()

FlushDump()

Get data log.

string FlushDump()

Returns

string

Data log.

Write(FixTags)

Last tag.

void Write(FixTags tag)

Parameters

tag FixTags

Tag.

Write(bool)

To record the bool value.

void Write(bool value)

Parameters

value bool

bool value.

Write(char)

To record the char value.

void Write(char value)

Parameters

value char

char value.

Write(DateTime, FastDateTimeParser)

To record the DateTime value.

void Write(DateTime value, FastDateTimeParser parser)

Parameters

value DateTime

DateTime value.

parser FastDateTimeParser

Time parser. Required if data will be transferred as string.

Write(decimal)

To record the decimal value.

void Write(decimal value)

Parameters

value decimal

decimal value.

Write(int)

To record the int value.

void Write(int value)

Parameters

value int

int value.

Write(long)

To record the long value.

void Write(long value)

Parameters

value long

long value.

Write(string)

To record the string value.

void Write(string value)

Parameters

value string

string value.

Write(TimeSpan, FastTimeSpanParser)

To record the TimeSpan value.

void Write(TimeSpan value, FastTimeSpanParser parser)

Parameters

value TimeSpan

TimeSpan value.

parser FastTimeSpanParser

Time parser. Required if data will be transferred as string.

WriteBytes(byte[], int, int)

To record an array of bytes.

void WriteBytes(byte[] buffer, int offset, int count)

Parameters

buffer byte[]

Bytes array.

offset int

The zero-based byte offset in buffer at which to begin copying bytes to the current stream.

count int

The number of bytes to be written to the current stream.