Table of Contents

Interface IFixReader

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

The interface describing the reader of data recorded in the FIX protocol format.

public interface IFixReader : IFixBase
Inherited Members
Extension Methods

Properties

IsValueRead

Whether the tag value was read.

bool IsValueRead { get; }

Property Value

bool

LastTag

Last read tag.

FixTags LastTag { get; }

Property Value

FixTags

Methods

ClearState()

Clear state.

void ClearState()

FlushDump()

Get data log.

string FlushDump()

Returns

string

Data log.

ReadBool()

Read bool value.

bool ReadBool()

Returns

bool

bool value.

ReadBytes(byte[], int, int)

Read byte array value.

void ReadBytes(byte[] buffer, int index, int count)

Parameters

buffer byte[]

Buffer.

index int

Starting index.

count int

Count of bytes should be read.

ReadChar()

Read char value.

char ReadChar()

Returns

char

char value.

ReadDateTime(FastDateTimeParser)

Read DateTime value.

DateTime ReadDateTime(FastDateTimeParser parser)

Parameters

parser FastDateTimeParser

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

Returns

DateTime

DateTime value.

ReadDecimal()

Read decimal value.

decimal ReadDecimal()

Returns

decimal

decimal value.

ReadInt()

Read int value.

int ReadInt()

Returns

int

int value.

ReadLong()

Read long value.

long ReadLong()

Returns

long

long value.

ReadString()

Read string value.

string ReadString()

Returns

string

string value.

ReadTag()

To read the following tag.

FixTags ReadTag()

Returns

FixTags

The next tag. The -1 indicates the end of data.

ReadTimeSpan(FastTimeSpanParser)

Read TimeSpan value.

TimeSpan ReadTimeSpan(FastTimeSpanParser parser)

Parameters

parser FastTimeSpanParser

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

Returns

TimeSpan

TimeSpan value.

SkipValue()

Skip value.

void SkipValue()