C# Класс QuickFix.SessionState

Used by the session communications code. Not intended to be used by applications.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
ClearQueue ( ) : void
Dequeue ( int num ) : QuickFix.Message
Get ( int begSeqNo, int endSeqNo, List messages ) : bool
GetCreationTime ( ) : System.DateTime
GetNextSenderMsgSeqNum ( ) : int
GetNextTargetMsgSeqNum ( ) : int
GetResendRange ( ) : QuickFix.ResendRange
IncrNextSenderMsgSeqNum ( ) : void
IncrNextTargetMsgSeqNum ( ) : void
LogonTimedOut ( ) : bool

FIXME

LogoutTimedOut ( ) : bool
LogoutTimedOut ( int now, bool sentLogout, int logoutTimeout, int lastSentTime ) : bool

All time args are in milliseconds

NeedHeartbeat ( ) : bool
NeedHeartbeat ( int now, int heartBtIntMillis, int lastSentTime, int testRequestCounter ) : bool

All time args are in milliseconds

NeedTestRequest ( ) : bool
NeedTestRequest ( int now, int heartBtIntMillis, int lastReceivedTime, int testRequestCounter ) : bool

All time args are in milliseconds

Queue ( int msgSeqNum, Message msg ) : void
Refresh ( ) : void
ResendRequested ( ) : bool
Reset ( ) : void
Retrieve ( int msgSeqNum ) : Message
SessionState ( Log log, int heartBtInt ) : System.Collections.Generic
Set ( int msgSeqNum, string msg ) : bool
SetNextSenderMsgSeqNum ( int value ) : void
SetNextTargetMsgSeqNum ( int value ) : void
SetResendRange ( int begin, int end ) : void
TimedOut ( ) : bool
TimedOut ( int now, int heartBtIntMillis, int lastReceivedTime ) : bool

All time args are in milliseconds

ToString ( ) : string

All time values are displayed in milliseconds.

WithinHeartbeat ( ) : bool
WithinHeartbeat ( int now, int heartBtIntMillis, int lastSentTime, int lastReceivedTime ) : bool

All time args are in milliseconds

Описание методов

ClearQueue() публичный метод

public ClearQueue ( ) : void
Результат void

Dequeue() публичный метод

public Dequeue ( int num ) : QuickFix.Message
num int
Результат QuickFix.Message

Get() публичный метод

public Get ( int begSeqNo, int endSeqNo, List messages ) : bool
begSeqNo int
endSeqNo int
messages List
Результат bool

GetCreationTime() публичный метод

public GetCreationTime ( ) : System.DateTime
Результат System.DateTime

GetNextSenderMsgSeqNum() публичный метод

public GetNextSenderMsgSeqNum ( ) : int
Результат int

GetNextTargetMsgSeqNum() публичный метод

public GetNextTargetMsgSeqNum ( ) : int
Результат int

GetResendRange() публичный метод

public GetResendRange ( ) : QuickFix.ResendRange
Результат QuickFix.ResendRange

IncrNextSenderMsgSeqNum() публичный метод

public IncrNextSenderMsgSeqNum ( ) : void
Результат void

IncrNextTargetMsgSeqNum() публичный метод

public IncrNextTargetMsgSeqNum ( ) : void
Результат void

LogonTimedOut() публичный метод

FIXME
public LogonTimedOut ( ) : bool
Результат bool

LogoutTimedOut() публичный метод

public LogoutTimedOut ( ) : bool
Результат bool

LogoutTimedOut() публичный статический метод

All time args are in milliseconds
public static LogoutTimedOut ( int now, bool sentLogout, int logoutTimeout, int lastSentTime ) : bool
now int current system time in milliseconds
sentLogout bool true if a Logout has been sent to the counterparty, otherwise false
logoutTimeout int number of milliseconds to wait for a Logout from the counterparty
lastSentTime int last sent time in milliseconds
Результат bool

NeedHeartbeat() публичный метод

public NeedHeartbeat ( ) : bool
Результат bool

NeedHeartbeat() публичный статический метод

All time args are in milliseconds
public static NeedHeartbeat ( int now, int heartBtIntMillis, int lastSentTime, int testRequestCounter ) : bool
now int current system time in milliseconds
heartBtIntMillis int heartbeat interval in milliseconds
lastSentTime int last sent time in milliseconds
testRequestCounter int test request counter
Результат bool

NeedTestRequest() публичный метод

public NeedTestRequest ( ) : bool
Результат bool

NeedTestRequest() публичный статический метод

All time args are in milliseconds
public static NeedTestRequest ( int now, int heartBtIntMillis, int lastReceivedTime, int testRequestCounter ) : bool
now int current system time in milliseconds
heartBtIntMillis int heartbeat interval in milliseconds
lastReceivedTime int last received time in milliseconds
testRequestCounter int test request counter
Результат bool

Queue() публичный метод

public Queue ( int msgSeqNum, Message msg ) : void
msgSeqNum int
msg Message
Результат void

Refresh() публичный метод

public Refresh ( ) : void
Результат void

ResendRequested() публичный метод

public ResendRequested ( ) : bool
Результат bool

Reset() публичный метод

public Reset ( ) : void
Результат void

Retrieve() публичный метод

public Retrieve ( int msgSeqNum ) : Message
msgSeqNum int
Результат Message

SessionState() публичный метод

public SessionState ( Log log, int heartBtInt ) : System.Collections.Generic
log Log
heartBtInt int
Результат System.Collections.Generic

Set() публичный метод

public Set ( int msgSeqNum, string msg ) : bool
msgSeqNum int
msg string
Результат bool

SetNextSenderMsgSeqNum() публичный метод

public SetNextSenderMsgSeqNum ( int value ) : void
value int
Результат void

SetNextTargetMsgSeqNum() публичный метод

public SetNextTargetMsgSeqNum ( int value ) : void
value int
Результат void

SetResendRange() публичный метод

public SetResendRange ( int begin, int end ) : void
begin int
end int
Результат void

TimedOut() публичный метод

public TimedOut ( ) : bool
Результат bool

TimedOut() публичный статический метод

All time args are in milliseconds
public static TimedOut ( int now, int heartBtIntMillis, int lastReceivedTime ) : bool
now int current system time in milliseconds
heartBtIntMillis int heartbeat interval in milliseconds
lastReceivedTime int last received time in milliseconds
Результат bool

ToString() публичный метод

All time values are displayed in milliseconds.
public ToString ( ) : string
Результат string

WithinHeartbeat() публичный метод

public WithinHeartbeat ( ) : bool
Результат bool

WithinHeartbeat() публичный статический метод

All time args are in milliseconds
public static WithinHeartbeat ( int now, int heartBtIntMillis, int lastSentTime, int lastReceivedTime ) : bool
now int current system time in milliseconds
heartBtIntMillis int heartbeat interval in milliseconds
lastSentTime int last sent time in milliseconds
lastReceivedTime int last received time in milliseconds
Результат bool