Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
FIX::SessionState Class Reference

Maintains all of state for the Session class. More...

#include <SessionState.h>

Inheritance diagram for FIX::SessionState:
Inheritance graph
[legend]
Collaboration diagram for FIX::SessionState:
Collaboration graph
[legend]

Public Types

typedef std::pair< int, int > ResendRange
 

Public Member Functions

 SessionState ()
 
bool enabled () const
 
void enabled (bool value)
 
bool receivedLogon () const
 
void receivedLogon (bool value)
 
bool sentLogout () const
 
void sentLogout (bool value)
 
bool sentLogon () const
 
void sentLogon (bool value)
 
bool receivedReset () const
 
void receivedReset (bool value)
 
bool sentReset () const
 
void sentReset (bool value)
 
bool initiate () const
 
void initiate (bool value)
 
int logonTimeout () const
 
void logonTimeout (int value)
 
int logoutTimeout () const
 
void logoutTimeout (int value)
 
int testRequest () const
 
void testRequest (int value)
 
bool resendRequested () const
 
ResendRange resendRange () const
 
void resendRange (int begin, int end)
 
MessageStorestore ()
 
void store (MessageStore *pValue)
 
Loglog ()
 
void log (Log *pValue)
 
void heartBtInt (const HeartBtInt &value)
 
HeartBtInt & heartBtInt ()
 
const HeartBtInt & heartBtInt () const
 
void lastSentTime (const UtcTimeStamp &value)
 
UtcTimeStamplastSentTime ()
 
const UtcTimeStamplastSentTime () const
 
void lastReceivedTime (const UtcTimeStamp &value)
 
UtcTimeStamplastReceivedTime ()
 
const UtcTimeStamplastReceivedTime () const
 
bool shouldSendLogon () const
 
bool alreadySentLogon () const
 
bool logonTimedOut () const
 
bool logoutTimedOut () const
 
bool withinHeartBeat () const
 
bool timedOut () const
 
bool needHeartbeat () const
 
bool needTestRequest () const
 
std::string logoutReason () const
 
void logoutReason (const std::string &value)
 
void queue (int msgSeqNum, const Message &message)
 
bool retrieve (int msgSeqNum, Message &message)
 
void clearQueue ()
 
bool set (int s, const std::string &m) throw ( IOException )
 
void get (int b, int e, std::vector< std::string > &m) const throw ( IOException )
 
int getNextSenderMsgSeqNum () const throw ( IOException )
 
int getNextTargetMsgSeqNum () const throw ( IOException )
 
void setNextSenderMsgSeqNum (int n) throw ( IOException )
 
void setNextTargetMsgSeqNum (int n) throw ( IOException )
 
void incrNextSenderMsgSeqNum () throw ( IOException )
 
void incrNextTargetMsgSeqNum () throw ( IOException )
 
UtcTimeStamp getCreationTime () const throw ( IOException )
 
void reset () throw ( IOException )
 
void refresh () throw ( IOException )
 
void clear ()
 
void backup ()
 
void onIncoming (const std::string &string)
 
void onOutgoing (const std::string &string)
 
void onEvent (const std::string &string)
 
- Public Member Functions inherited from FIX::MessageStore
virtual ~MessageStore ()
 
- Public Member Functions inherited from FIX::Log
virtual ~Log ()
 

Private Types

typedef std::map< int, MessageMessages
 

Private Attributes

bool m_enabled
 
bool m_receivedLogon
 
bool m_sentLogout
 
bool m_sentLogon
 
bool m_sentReset
 
bool m_receivedReset
 
bool m_initiate
 
int m_logonTimeout
 
int m_logoutTimeout
 
int m_testRequest
 
ResendRange m_resendRange
 
HeartBtInt m_heartBtInt
 
UtcTimeStamp m_lastSentTime
 
UtcTimeStamp m_lastReceivedTime
 
std::string m_logoutReason
 
Messages m_queue
 
MessageStorem_pStore
 
Logm_pLog
 
NullLog m_nullLog
 
Mutex m_mutex
 

Detailed Description

Maintains all of state for the Session class.

Definition at line 37 of file SessionState.h.

Member Typedef Documentation

typedef std::map< int, Message > FIX::SessionState::Messages
private

Definition at line 39 of file SessionState.h.

typedef std::pair<int, int> FIX::SessionState::ResendRange

Definition at line 83 of file SessionState.h.

Constructor & Destructor Documentation

FIX::SessionState::SessionState ( )
inline

Definition at line 42 of file SessionState.h.

43 : m_enabled( true ), m_receivedLogon( false ),
44  m_sentLogout( false ), m_sentLogon( false ),
45  m_sentReset( false ), m_receivedReset( false ),
46  m_initiate( false ), m_logonTimeout( 10 ),
47  m_logoutTimeout( 2 ), m_testRequest( 0 ),
48  m_pStore( 0 ), m_pLog( 0 ) {}
MessageStore * m_pStore
Definition: SessionState.h:224

Member Function Documentation

bool FIX::SessionState::alreadySentLogon ( ) const
inline

Definition at line 116 of file SessionState.h.

References initiate(), and sentLogon().

Referenced by FIX::Session::next().

116 { return initiate() && sentLogon(); }
bool sentLogon() const
Definition: SessionState.h:59
bool initiate() const
Definition: SessionState.h:68
void FIX::SessionState::backup ( )
inlinevirtual

Implements FIX::Log.

Definition at line 198 of file SessionState.h.

References FIX::Log::backup(), m_mutex, and m_pLog.

199  { if ( !m_pLog ) return ; Locker l( m_mutex ); m_pLog->backup(); }
virtual void backup()=0
void FIX::SessionState::clear ( )
inlinevirtual

Implements FIX::Log.

Definition at line 196 of file SessionState.h.

References FIX::Log::clear(), m_mutex, and m_pLog.

197  { if ( !m_pLog ) return ; Locker l( m_mutex ); m_pLog->clear(); }
virtual void clear()=0
void FIX::SessionState::clearQueue ( )
inline

Definition at line 169 of file SessionState.h.

References m_mutex, and m_queue.

Referenced by FIX::Session::disconnect().

170  { Locker l( m_mutex ); m_queue.clear(); }
bool FIX::SessionState::enabled ( ) const
inline

Definition at line 50 of file SessionState.h.

References m_enabled.

Referenced by FIX::Session::isEnabled(), FIX::Session::logon(), and FIX::Session::logout().

50 { return m_enabled; }
void FIX::SessionState::enabled ( bool  value)
inline

Definition at line 51 of file SessionState.h.

References m_enabled.

51 { m_enabled = value; }
void FIX::SessionState::get ( int  b,
int  e,
std::vector< std::string > &  m 
) const
throw (IOException
)
inlinevirtual

Implements FIX::MessageStore.

Definition at line 174 of file SessionState.h.

References FIX::MessageStore::get(), m_mutex, and m_pStore.

Referenced by FIX::Session::nextResendRequest().

176  { Locker l( m_mutex ); m_pStore->get( b, e, m ); }
MessageStore * m_pStore
Definition: SessionState.h:224
virtual void get(int, int, std::vector< std::string > &) const =0
UtcTimeStamp FIX::SessionState::getCreationTime ( ) const
throw (IOException
)
inlinevirtual

Implements FIX::MessageStore.

Definition at line 189 of file SessionState.h.

References FIX::MessageStore::getCreationTime(), m_mutex, and m_pStore.

Referenced by FIX::Session::checkSessionTime().

190  { Locker l( m_mutex ); return m_pStore->getCreationTime(); }
virtual UtcTimeStamp getCreationTime() const =0
MessageStore * m_pStore
Definition: SessionState.h:224
int FIX::SessionState::getNextSenderMsgSeqNum ( ) const
throw (IOException
)
inlinevirtual

Implements FIX::MessageStore.

Definition at line 177 of file SessionState.h.

References FIX::MessageStore::getNextSenderMsgSeqNum(), m_mutex, and m_pStore.

Referenced by FIX::Session::getExpectedSenderNum(), and FIX::Session::nextResendRequest().

178  { Locker l( m_mutex ); return m_pStore->getNextSenderMsgSeqNum(); }
MessageStore * m_pStore
Definition: SessionState.h:224
virtual int getNextSenderMsgSeqNum() const =0
int FIX::SessionState::getNextTargetMsgSeqNum ( ) const
throw (IOException
)
inlinevirtual
void FIX::SessionState::heartBtInt ( const HeartBtInt &  value)
inline

Definition at line 94 of file SessionState.h.

References m_heartBtInt.

Referenced by FIX::Session::generateLogon(), FIX::Session::next(), FIX::Session::nextLogon(), and FIX::Session::Session().

95  { m_heartBtInt = value; }
HeartBtInt m_heartBtInt
Definition: SessionState.h:219
HeartBtInt& FIX::SessionState::heartBtInt ( )
inline

Definition at line 96 of file SessionState.h.

References m_heartBtInt.

Referenced by needHeartbeat(), needTestRequest(), timedOut(), and withinHeartBeat().

97  { return m_heartBtInt; }
HeartBtInt m_heartBtInt
Definition: SessionState.h:219
const HeartBtInt& FIX::SessionState::heartBtInt ( ) const
inline

Definition at line 98 of file SessionState.h.

References m_heartBtInt.

99  { return m_heartBtInt; }
HeartBtInt m_heartBtInt
Definition: SessionState.h:219
void FIX::SessionState::incrNextSenderMsgSeqNum ( )
throw (IOException
)
inlinevirtual

Implements FIX::MessageStore.

Definition at line 185 of file SessionState.h.

References FIX::MessageStore::incrNextSenderMsgSeqNum(), m_mutex, and m_pStore.

186  { Locker l( m_mutex ); m_pStore->incrNextSenderMsgSeqNum(); }
MessageStore * m_pStore
Definition: SessionState.h:224
virtual void incrNextSenderMsgSeqNum()=0
void FIX::SessionState::incrNextTargetMsgSeqNum ( )
throw (IOException
)
inlinevirtual
bool FIX::SessionState::initiate ( ) const
inline
void FIX::SessionState::initiate ( bool  value)
inline

Definition at line 69 of file SessionState.h.

References m_initiate.

69 { m_initiate = value; }
void FIX::SessionState::lastReceivedTime ( const UtcTimeStamp value)
inline

Definition at line 108 of file SessionState.h.

References m_lastReceivedTime.

Referenced by FIX::Session::generateLogon(), and FIX::Session::verify().

109  { m_lastReceivedTime = value; }
UtcTimeStamp m_lastReceivedTime
Definition: SessionState.h:221
UtcTimeStamp& FIX::SessionState::lastReceivedTime ( )
inline

Definition at line 110 of file SessionState.h.

References m_lastReceivedTime.

Referenced by logonTimedOut(), needTestRequest(), timedOut(), and withinHeartBeat().

111  { return m_lastReceivedTime; }
UtcTimeStamp m_lastReceivedTime
Definition: SessionState.h:221
const UtcTimeStamp& FIX::SessionState::lastReceivedTime ( ) const
inline

Definition at line 112 of file SessionState.h.

References m_lastReceivedTime.

113  { return m_lastReceivedTime; }
UtcTimeStamp m_lastReceivedTime
Definition: SessionState.h:221
void FIX::SessionState::lastSentTime ( const UtcTimeStamp value)
inline

Definition at line 101 of file SessionState.h.

References m_lastSentTime.

Referenced by FIX::Session::fill().

102  { m_lastSentTime = value; }
UtcTimeStamp m_lastSentTime
Definition: SessionState.h:220
UtcTimeStamp& FIX::SessionState::lastSentTime ( )
inline

Definition at line 103 of file SessionState.h.

References m_lastSentTime.

Referenced by logoutTimedOut(), needHeartbeat(), and withinHeartBeat().

104  { return m_lastSentTime; }
UtcTimeStamp m_lastSentTime
Definition: SessionState.h:220
const UtcTimeStamp& FIX::SessionState::lastSentTime ( ) const
inline

Definition at line 105 of file SessionState.h.

References m_lastSentTime.

106  { return m_lastSentTime; }
UtcTimeStamp m_lastSentTime
Definition: SessionState.h:220
Log* FIX::SessionState::log ( )
inline

Definition at line 91 of file SessionState.h.

References m_nullLog, and m_pLog.

Referenced by FIX::Session::Session(), and FIX::Session::~Session().

91 { return m_pLog ? m_pLog : &m_nullLog; }
void FIX::SessionState::log ( Log pValue)
inline

Definition at line 92 of file SessionState.h.

References m_pLog.

92 { m_pLog = pValue; }
bool FIX::SessionState::logonTimedOut ( ) const
inline

Definition at line 117 of file SessionState.h.

References lastReceivedTime(), and logonTimeout().

Referenced by FIX::Session::next().

118  {
119  UtcTimeStamp now;
120  return now - lastReceivedTime() >= logonTimeout();
121  }
int logonTimeout() const
Definition: SessionState.h:71
UtcTimeStamp & lastReceivedTime()
Definition: SessionState.h:110
int FIX::SessionState::logonTimeout ( ) const
inline

Definition at line 71 of file SessionState.h.

References m_logonTimeout.

Referenced by FIX::Session::getLogonTimeout(), logonTimedOut(), and FIX::Session::setLogonTimeout().

71 { return m_logonTimeout; }
void FIX::SessionState::logonTimeout ( int  value)
inline

Definition at line 72 of file SessionState.h.

References m_logonTimeout.

72 { m_logonTimeout = value; }
std::string FIX::SessionState::logoutReason ( ) const
inline

Definition at line 150 of file SessionState.h.

References m_logoutReason, and m_mutex.

Referenced by FIX::Session::disconnect(), FIX::Session::logon(), FIX::Session::logout(), and FIX::Session::next().

151  { Locker l( m_mutex ); return m_logoutReason; }
std::string m_logoutReason
Definition: SessionState.h:222
void FIX::SessionState::logoutReason ( const std::string &  value)
inline

Definition at line 152 of file SessionState.h.

References m_logoutReason, and m_mutex.

153  { Locker l( m_mutex ); m_logoutReason = value; }
std::string m_logoutReason
Definition: SessionState.h:222
bool FIX::SessionState::logoutTimedOut ( ) const
inline

Definition at line 122 of file SessionState.h.

References lastSentTime(), logoutTimeout(), and sentLogout().

Referenced by FIX::Session::next().

123  {
124  UtcTimeStamp now;
125  return sentLogout() && ( ( now - lastSentTime() ) >= logoutTimeout() );
126  }
bool sentLogout() const
Definition: SessionState.h:56
int logoutTimeout() const
Definition: SessionState.h:74
UtcTimeStamp & lastSentTime()
Definition: SessionState.h:103
int FIX::SessionState::logoutTimeout ( ) const
inline
void FIX::SessionState::logoutTimeout ( int  value)
inline

Definition at line 75 of file SessionState.h.

References m_logoutTimeout.

75 { m_logoutTimeout = value; }
bool FIX::SessionState::needHeartbeat ( ) const
inline

Definition at line 138 of file SessionState.h.

References heartBtInt(), lastSentTime(), and testRequest().

Referenced by FIX::Session::next().

139  {
140  UtcTimeStamp now;
141  return ( ( now - lastSentTime() ) >= heartBtInt() ) && !testRequest();
142  }
HeartBtInt & heartBtInt()
Definition: SessionState.h:96
int testRequest() const
Definition: SessionState.h:77
UtcTimeStamp & lastSentTime()
Definition: SessionState.h:103
bool FIX::SessionState::needTestRequest ( ) const
inline

Definition at line 143 of file SessionState.h.

References heartBtInt(), lastReceivedTime(), and testRequest().

Referenced by FIX::Session::next().

144  {
145  UtcTimeStamp now;
146  return ( now - lastReceivedTime() ) >=
147  ( ( 1.2 * ( ( double ) testRequest() + 1 ) ) * ( double ) heartBtInt() );
148  }
HeartBtInt & heartBtInt()
Definition: SessionState.h:96
UtcTimeStamp & lastReceivedTime()
Definition: SessionState.h:110
int testRequest() const
Definition: SessionState.h:77
void FIX::SessionState::onEvent ( const std::string &  string)
inlinevirtual
void FIX::SessionState::onIncoming ( const std::string &  string)
inlinevirtual

Implements FIX::Log.

Definition at line 200 of file SessionState.h.

References m_mutex, m_pLog, and FIX::Log::onIncoming().

Referenced by FIX::Session::next().

201  { if ( !m_pLog ) return ; Locker l( m_mutex ); m_pLog->onIncoming( string ); }
virtual void onIncoming(const std::string &)=0
void FIX::SessionState::onOutgoing ( const std::string &  string)
inlinevirtual

Implements FIX::Log.

Definition at line 202 of file SessionState.h.

References m_mutex, m_pLog, and FIX::Log::onOutgoing().

Referenced by FIX::Session::send().

203  { if ( !m_pLog ) return ; Locker l( m_mutex ); m_pLog->onOutgoing( string ); }
virtual void onOutgoing(const std::string &)=0
void FIX::SessionState::queue ( int  msgSeqNum,
const Message message 
)
inline

Definition at line 155 of file SessionState.h.

References m_mutex, and m_queue.

Referenced by FIX::Session::doTargetTooHigh().

156  { Locker l( m_mutex ); m_queue[ msgSeqNum ] = message; }
bool FIX::SessionState::receivedLogon ( ) const
inline
void FIX::SessionState::receivedLogon ( bool  value)
inline

Definition at line 54 of file SessionState.h.

References m_receivedLogon.

54 { m_receivedLogon = value; }
bool FIX::SessionState::receivedReset ( ) const
inline
void FIX::SessionState::receivedReset ( bool  value)
inline

Definition at line 63 of file SessionState.h.

References m_receivedReset.

63 { m_receivedReset = value; }
void FIX::SessionState::refresh ( )
throw (IOException
)
inlinevirtual

Implements FIX::MessageStore.

Definition at line 193 of file SessionState.h.

References m_mutex, m_pStore, and FIX::MessageStore::refresh().

Referenced by FIX::Session::refresh().

194  { Locker l( m_mutex ); m_pStore->refresh(); }
MessageStore * m_pStore
Definition: SessionState.h:224
virtual void refresh()=0
ResendRange FIX::SessionState::resendRange ( ) const
inline
void FIX::SessionState::resendRange ( int  begin,
int  end 
)
inline

Definition at line 86 of file SessionState.h.

References m_resendRange.

87  { m_resendRange = std::make_pair( begin, end ); }
ResendRange m_resendRange
Definition: SessionState.h:218
bool FIX::SessionState::resendRequested ( ) const
inline

Definition at line 80 of file SessionState.h.

References m_resendRange.

Referenced by FIX::Session::doTargetTooHigh(), and FIX::Session::verify().

81  { return !(m_resendRange.first == 0 && m_resendRange.second == 0); }
ResendRange m_resendRange
Definition: SessionState.h:218
void FIX::SessionState::reset ( )
throw (IOException
)
inlinevirtual
bool FIX::SessionState::retrieve ( int  msgSeqNum,
Message message 
)
inline

Definition at line 157 of file SessionState.h.

References m_mutex, and m_queue.

Referenced by FIX::Session::nextQueued().

158  {
159  Locker l( m_mutex );
160  Messages::iterator i = m_queue.find( msgSeqNum );
161  if ( i != m_queue.end() )
162  {
163  message = i->second;
164  m_queue.erase( i );
165  return true;
166  }
167  return false;
168  }
bool FIX::SessionState::sentLogon ( ) const
inline
void FIX::SessionState::sentLogon ( bool  value)
inline

Definition at line 60 of file SessionState.h.

References m_sentLogon.

60 { m_sentLogon = value; }
bool FIX::SessionState::sentLogout ( ) const
inline
void FIX::SessionState::sentLogout ( bool  value)
inline

Definition at line 57 of file SessionState.h.

References m_sentLogout.

57 { m_sentLogout = value; }
bool FIX::SessionState::sentReset ( ) const
inline
void FIX::SessionState::sentReset ( bool  value)
inline

Definition at line 66 of file SessionState.h.

References m_sentReset.

66 { m_sentReset = value; }
bool FIX::SessionState::set ( int  s,
const std::string &  m 
)
throw (IOException
)
inlinevirtual

Implements FIX::MessageStore.

Definition at line 172 of file SessionState.h.

References m_mutex, m_pStore, and FIX::MessageStore::set().

173  { Locker l( m_mutex ); return m_pStore->set( s, m ); }
virtual bool set(int, const std::string &)=0
MessageStore * m_pStore
Definition: SessionState.h:224
void FIX::SessionState::setNextSenderMsgSeqNum ( int  n)
throw (IOException
)
inlinevirtual

Implements FIX::MessageStore.

Definition at line 181 of file SessionState.h.

References m_mutex, m_pStore, and FIX::MessageStore::setNextSenderMsgSeqNum().

Referenced by FIX::Session::setNextSenderMsgSeqNum().

182  { Locker l( m_mutex ); m_pStore->setNextSenderMsgSeqNum( n ); }
virtual void setNextSenderMsgSeqNum(int)=0
MessageStore * m_pStore
Definition: SessionState.h:224
void FIX::SessionState::setNextTargetMsgSeqNum ( int  n)
throw (IOException
)
inlinevirtual

Implements FIX::MessageStore.

Definition at line 183 of file SessionState.h.

References m_mutex, m_pStore, and FIX::MessageStore::setNextTargetMsgSeqNum().

Referenced by FIX::Session::nextSequenceReset(), and FIX::Session::setNextTargetMsgSeqNum().

184  { Locker l( m_mutex ); m_pStore->setNextTargetMsgSeqNum( n ); }
MessageStore * m_pStore
Definition: SessionState.h:224
virtual void setNextTargetMsgSeqNum(int)=0
bool FIX::SessionState::shouldSendLogon ( ) const
inline

Definition at line 115 of file SessionState.h.

References initiate(), and sentLogon().

Referenced by FIX::Session::next(), and FIX::Session::nextLogon().

115 { return initiate() && !sentLogon(); }
bool sentLogon() const
Definition: SessionState.h:59
bool initiate() const
Definition: SessionState.h:68
MessageStore* FIX::SessionState::store ( )
inline

Definition at line 89 of file SessionState.h.

References m_pStore.

Referenced by FIX::Session::Session(), and FIX::Session::~Session().

89 { return m_pStore; }
MessageStore * m_pStore
Definition: SessionState.h:224
void FIX::SessionState::store ( MessageStore pValue)
inline

Definition at line 90 of file SessionState.h.

References m_pStore.

90 { m_pStore = pValue; }
MessageStore * m_pStore
Definition: SessionState.h:224
int FIX::SessionState::testRequest ( ) const
inline
void FIX::SessionState::testRequest ( int  value)
inline

Definition at line 78 of file SessionState.h.

References m_testRequest.

78 { m_testRequest = value; }
bool FIX::SessionState::timedOut ( ) const
inline

Definition at line 133 of file SessionState.h.

References heartBtInt(), and lastReceivedTime().

Referenced by FIX::Session::next().

134  {
135  UtcTimeStamp now;
136  return ( now - lastReceivedTime() ) >= ( 2.4 * ( double ) heartBtInt() );
137  }
HeartBtInt & heartBtInt()
Definition: SessionState.h:96
UtcTimeStamp & lastReceivedTime()
Definition: SessionState.h:110
bool FIX::SessionState::withinHeartBeat ( ) const
inline

Definition at line 127 of file SessionState.h.

References heartBtInt(), lastReceivedTime(), and lastSentTime().

Referenced by FIX::Session::next().

128  {
129  UtcTimeStamp now;
130  return ( ( now - lastSentTime() ) < heartBtInt() ) &&
131  ( ( now - lastReceivedTime() ) < heartBtInt() );
132  }
HeartBtInt & heartBtInt()
Definition: SessionState.h:96
UtcTimeStamp & lastReceivedTime()
Definition: SessionState.h:110
UtcTimeStamp & lastSentTime()
Definition: SessionState.h:103

Member Data Documentation

bool FIX::SessionState::m_enabled
private

Definition at line 208 of file SessionState.h.

Referenced by enabled().

HeartBtInt FIX::SessionState::m_heartBtInt
private

Definition at line 219 of file SessionState.h.

Referenced by heartBtInt().

bool FIX::SessionState::m_initiate
private

Definition at line 214 of file SessionState.h.

Referenced by initiate().

UtcTimeStamp FIX::SessionState::m_lastReceivedTime
private

Definition at line 221 of file SessionState.h.

Referenced by lastReceivedTime().

UtcTimeStamp FIX::SessionState::m_lastSentTime
private

Definition at line 220 of file SessionState.h.

Referenced by lastSentTime().

int FIX::SessionState::m_logonTimeout
private

Definition at line 215 of file SessionState.h.

Referenced by logonTimeout().

std::string FIX::SessionState::m_logoutReason
private

Definition at line 222 of file SessionState.h.

Referenced by logoutReason().

int FIX::SessionState::m_logoutTimeout
private

Definition at line 216 of file SessionState.h.

Referenced by logoutTimeout().

Mutex FIX::SessionState::m_mutex
mutableprivate
NullLog FIX::SessionState::m_nullLog
private

Definition at line 226 of file SessionState.h.

Referenced by log().

Log* FIX::SessionState::m_pLog
private

Definition at line 225 of file SessionState.h.

Referenced by backup(), clear(), log(), onEvent(), onIncoming(), and onOutgoing().

MessageStore* FIX::SessionState::m_pStore
private
Messages FIX::SessionState::m_queue
private

Definition at line 223 of file SessionState.h.

Referenced by clearQueue(), queue(), and retrieve().

bool FIX::SessionState::m_receivedLogon
private

Definition at line 209 of file SessionState.h.

Referenced by receivedLogon().

bool FIX::SessionState::m_receivedReset
private

Definition at line 213 of file SessionState.h.

Referenced by receivedReset().

ResendRange FIX::SessionState::m_resendRange
private

Definition at line 218 of file SessionState.h.

Referenced by resendRange(), and resendRequested().

bool FIX::SessionState::m_sentLogon
private

Definition at line 211 of file SessionState.h.

Referenced by sentLogon().

bool FIX::SessionState::m_sentLogout
private

Definition at line 210 of file SessionState.h.

Referenced by sentLogout().

bool FIX::SessionState::m_sentReset
private

Definition at line 212 of file SessionState.h.

Referenced by sentReset().

int FIX::SessionState::m_testRequest
private

Definition at line 217 of file SessionState.h.

Referenced by testRequest().


The documentation for this class was generated from the following file:

Generated on Sat Mar 29 2014 15:13:35 for QuickFIX by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2001