IFixReader

StockSharp.Fix.Native

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

实现: IFixBase, IDisposable

属性

IsValueRead : bool

Whether the tag value was read.

LastTag : FixTags

Last read tag.

方法

ClearState()

Clear state.

FlushDump() : string

Get data log.

返回值: Data log.

ReadBoolAsync(CancellationToken) : ValueTask<bool>

Read Boolean value.

cancellationToken
Cancellation token.

返回值: Boolean value.

ReadBytesAsync(Memory<byte>, CancellationToken) : ValueTask

Read Byte array value.

buffer
Buffer.
cancellationToken
Cancellation token.
ReadCharAsync(CancellationToken) : ValueTask<char>

Read Char value.

cancellationToken
Cancellation token.

返回值: Char value.

ReadDateTimeAsync(FastDateTimeParser, CancellationToken) : ValueTask<DateTime>

Read DateTime value asynchronously.

parser
Time parser. Required if data will be transferred as string.
cancellationToken
Cancellation token.

返回值: DateTime value.

ReadDecimalAsync(CancellationToken) : ValueTask<decimal>

Read Decimal value.

cancellationToken
Cancellation token.

返回值: Decimal value.

ReadIntAsync(CancellationToken) : ValueTask<int>

Read Int32 value.

cancellationToken
Cancellation token.

返回值: Int32 value.

ReadLongAsync(CancellationToken) : ValueTask<long>

Read Int64 value.

cancellationToken
Cancellation token.

返回值: Int64 value.

ReadStringAsync(CancellationToken) : ValueTask<string>

Read String value.

cancellationToken
Cancellation token.

返回值: String value.

ReadTagAsync(CancellationToken) : ValueTask<FixTags>

To read the following tag.

cancellationToken
Cancellation token.

返回值: The next tag. The -1 indicates the end of data.

ReadTimeSpanAsync(FastTimeSpanParser, CancellationToken) : ValueTask<TimeSpan>

Read TimeSpan value.

parser
Time parser. Required if data will be transferred as string.
cancellationToken
Cancellation token.

返回值: TimeSpan value.

SkipValueAsync(CancellationToken) : ValueTask

Skip value.

cancellationToken
Cancellation token.