C# Class QuickFix.SessionState

Used by the session communications code. Not intended to be used by applications.
Inheritance: IDisposable
ファイルを表示 Open project: kennystone/quickfixn Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
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

Method Details

ClearQueue() public method

public ClearQueue ( ) : void
return void

Dequeue() public method

public Dequeue ( int num ) : QuickFix.Message
num int
return QuickFix.Message

Get() public method

public Get ( int begSeqNo, int endSeqNo, List messages ) : bool
begSeqNo int
endSeqNo int
messages List
return bool

GetCreationTime() public method

public GetCreationTime ( ) : System.DateTime
return System.DateTime

GetNextSenderMsgSeqNum() public method

public GetNextSenderMsgSeqNum ( ) : int
return int

GetNextTargetMsgSeqNum() public method

public GetNextTargetMsgSeqNum ( ) : int
return int

GetResendRange() public method

public GetResendRange ( ) : QuickFix.ResendRange
return QuickFix.ResendRange

IncrNextSenderMsgSeqNum() public method

public IncrNextSenderMsgSeqNum ( ) : void
return void

IncrNextTargetMsgSeqNum() public method

public IncrNextTargetMsgSeqNum ( ) : void
return void

LogonTimedOut() public method

FIXME
public LogonTimedOut ( ) : bool
return bool

LogoutTimedOut() public method

public LogoutTimedOut ( ) : bool
return bool

LogoutTimedOut() public static method

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
return bool

NeedHeartbeat() public method

public NeedHeartbeat ( ) : bool
return bool

NeedHeartbeat() public static method

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
return bool

NeedTestRequest() public method

public NeedTestRequest ( ) : bool
return bool

NeedTestRequest() public static method

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
return bool

Queue() public method

public Queue ( int msgSeqNum, Message msg ) : void
msgSeqNum int
msg Message
return void

Refresh() public method

public Refresh ( ) : void
return void

ResendRequested() public method

public ResendRequested ( ) : bool
return bool

Reset() public method

public Reset ( ) : void
return void

Retrieve() public method

public Retrieve ( int msgSeqNum ) : Message
msgSeqNum int
return Message

SessionState() public method

public SessionState ( Log log, int heartBtInt ) : System.Collections.Generic
log Log
heartBtInt int
return System.Collections.Generic

Set() public method

public Set ( int msgSeqNum, string msg ) : bool
msgSeqNum int
msg string
return bool

SetNextSenderMsgSeqNum() public method

public SetNextSenderMsgSeqNum ( int value ) : void
value int
return void

SetNextTargetMsgSeqNum() public method

public SetNextTargetMsgSeqNum ( int value ) : void
value int
return void

SetResendRange() public method

public SetResendRange ( int begin, int end ) : void
begin int
end int
return void

TimedOut() public method

public TimedOut ( ) : bool
return bool

TimedOut() public static method

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
return bool

ToString() public method

All time values are displayed in milliseconds.
public ToString ( ) : string
return string

WithinHeartbeat() public method

public WithinHeartbeat ( ) : bool
return bool

WithinHeartbeat() public static method

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
return bool