C# Class QuickFix.SessionState

Used by the session communications code. Not intended to be used by applications.
Inheritance: IDisposable
Afficher le fichier Open project: kennystone/quickfixn Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

public ClearQueue ( ) : void
Résultat void

Dequeue() public méthode

public Dequeue ( int num ) : QuickFix.Message
num int
Résultat QuickFix.Message

Get() public méthode

public Get ( int begSeqNo, int endSeqNo, List messages ) : bool
begSeqNo int
endSeqNo int
messages List
Résultat bool

GetCreationTime() public méthode

public GetCreationTime ( ) : System.DateTime
Résultat System.DateTime

GetNextSenderMsgSeqNum() public méthode

public GetNextSenderMsgSeqNum ( ) : int
Résultat int

GetNextTargetMsgSeqNum() public méthode

public GetNextTargetMsgSeqNum ( ) : int
Résultat int

GetResendRange() public méthode

public GetResendRange ( ) : QuickFix.ResendRange
Résultat QuickFix.ResendRange

IncrNextSenderMsgSeqNum() public méthode

public IncrNextSenderMsgSeqNum ( ) : void
Résultat void

IncrNextTargetMsgSeqNum() public méthode

public IncrNextTargetMsgSeqNum ( ) : void
Résultat void

LogonTimedOut() public méthode

FIXME
public LogonTimedOut ( ) : bool
Résultat bool

LogoutTimedOut() public méthode

public LogoutTimedOut ( ) : bool
Résultat bool

LogoutTimedOut() public static méthode

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
Résultat bool

NeedHeartbeat() public méthode

public NeedHeartbeat ( ) : bool
Résultat bool

NeedHeartbeat() public static méthode

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
Résultat bool

NeedTestRequest() public méthode

public NeedTestRequest ( ) : bool
Résultat bool

NeedTestRequest() public static méthode

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
Résultat bool

Queue() public méthode

public Queue ( int msgSeqNum, Message msg ) : void
msgSeqNum int
msg Message
Résultat void

Refresh() public méthode

public Refresh ( ) : void
Résultat void

ResendRequested() public méthode

public ResendRequested ( ) : bool
Résultat bool

Reset() public méthode

public Reset ( ) : void
Résultat void

Retrieve() public méthode

public Retrieve ( int msgSeqNum ) : Message
msgSeqNum int
Résultat Message

SessionState() public méthode

public SessionState ( Log log, int heartBtInt ) : System.Collections.Generic
log Log
heartBtInt int
Résultat System.Collections.Generic

Set() public méthode

public Set ( int msgSeqNum, string msg ) : bool
msgSeqNum int
msg string
Résultat bool

SetNextSenderMsgSeqNum() public méthode

public SetNextSenderMsgSeqNum ( int value ) : void
value int
Résultat void

SetNextTargetMsgSeqNum() public méthode

public SetNextTargetMsgSeqNum ( int value ) : void
value int
Résultat void

SetResendRange() public méthode

public SetResendRange ( int begin, int end ) : void
begin int
end int
Résultat void

TimedOut() public méthode

public TimedOut ( ) : bool
Résultat bool

TimedOut() public static méthode

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
Résultat bool

ToString() public méthode

All time values are displayed in milliseconds.
public ToString ( ) : string
Résultat string

WithinHeartbeat() public méthode

public WithinHeartbeat ( ) : bool
Résultat bool

WithinHeartbeat() public static méthode

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
Résultat bool