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

#include <MessageStore.h>

Collaboration diagram for FIX::MessageStoreExceptionWrapper:
Collaboration graph
[legend]

Public Member Functions

 MessageStoreExceptionWrapper (MessageStore *pStore)
 
 ~MessageStoreExceptionWrapper ()
 
bool set (int, const std::string &, bool &, IOException &)
 
void get (int, int, std::vector< std::string > &, bool &, IOException &) const
 
int getNextSenderMsgSeqNum (bool &, IOException &) const
 
int getNextTargetMsgSeqNum (bool &, IOException &) const
 
void setNextSenderMsgSeqNum (int, bool &, IOException &)
 
void setNextTargetMsgSeqNum (int, bool &, IOException &)
 
void incrNextSenderMsgSeqNum (bool &, IOException &)
 
void incrNextTargetMsgSeqNum (bool &, IOException &)
 
UtcTimeStamp getCreationTime (bool &, IOException &)
 
void reset (bool &, IOException &)
 
void refresh (bool &, IOException &)
 

Private Attributes

MessageStorem_pStore
 

Detailed Description

Definition at line 167 of file MessageStore.h.

Constructor & Destructor Documentation

◆ MessageStoreExceptionWrapper()

FIX::MessageStoreExceptionWrapper::MessageStoreExceptionWrapper ( MessageStore pStore)
inline

Definition at line 172 of file MessageStore.h.

◆ ~MessageStoreExceptionWrapper()

FIX::MessageStoreExceptionWrapper::~MessageStoreExceptionWrapper ( )
inline

Definition at line 173 of file MessageStore.h.

Member Function Documentation

◆ get()

void FIX::MessageStoreExceptionWrapper::get ( int  begin,
int  end,
std::vector< std::string > &  msgs,
bool &  threw,
IOException ex 
) const

Definition at line 93 of file MessageStore.cpp.

93  { return m_pStore->getNextTargetMsgSeqNum(); }
94  catch ( IOException & e ) { threw = true; ex = e; return 0; }
95 }
96 
97 void MessageStoreExceptionWrapper::setNextSenderMsgSeqNum( int num, bool& threw, IOException& ex )
98 {

References FIX::MessageStore::getNextTargetMsgSeqNum(), and m_pStore.

◆ getCreationTime()

UtcTimeStamp FIX::MessageStoreExceptionWrapper::getCreationTime ( bool &  threw,
IOException ex 
)

Definition at line 142 of file MessageStore.cpp.

142  { m_pStore->refresh(); }
143  catch ( IOException & e ) { threw = true; ex = e; }
144 }
145 
146 } //namespace FIX

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

◆ getNextSenderMsgSeqNum()

int FIX::MessageStoreExceptionWrapper::getNextSenderMsgSeqNum ( bool &  threw,
IOException ex 
) const

Definition at line 100 of file MessageStore.cpp.

100  { m_pStore->setNextSenderMsgSeqNum( num ); }
101  catch ( IOException & e ) { threw = true; ex = e; }
102 }
103 
104 void MessageStoreExceptionWrapper::setNextTargetMsgSeqNum( int num, bool& threw, IOException& ex )
105 {

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

◆ getNextTargetMsgSeqNum()

int FIX::MessageStoreExceptionWrapper::getNextTargetMsgSeqNum ( bool &  threw,
IOException ex 
) const

Definition at line 107 of file MessageStore.cpp.

107  { m_pStore->setNextTargetMsgSeqNum( num ); }
108  catch ( IOException & e ) { threw = true; ex = e; }
109 }
110 
111 void MessageStoreExceptionWrapper::incrNextSenderMsgSeqNum( bool& threw, IOException& ex )
112 {

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

◆ incrNextSenderMsgSeqNum()

void FIX::MessageStoreExceptionWrapper::incrNextSenderMsgSeqNum ( bool &  threw,
IOException ex 
)

Definition at line 128 of file MessageStore.cpp.

128  { return m_pStore->getCreationTime(); }
129  catch ( IOException & e ) { threw = true; ex = e; return UtcTimeStamp(); }
130 }
131 
132 void MessageStoreExceptionWrapper::reset( bool& threw, IOException& ex )
133 {

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

◆ incrNextTargetMsgSeqNum()

void FIX::MessageStoreExceptionWrapper::incrNextTargetMsgSeqNum ( bool &  threw,
IOException ex 
)

Definition at line 135 of file MessageStore.cpp.

135  { m_pStore->reset(); }
136  catch ( IOException & e ) { threw = true; ex = e; }
137 }
138 
139 void MessageStoreExceptionWrapper::refresh( bool& threw, IOException& ex )
140 {

References m_pStore, and FIX::MessageStore::reset().

◆ refresh()

void FIX::MessageStoreExceptionWrapper::refresh ( bool &  threw,
IOException ex 
)

Definition at line 156 of file MessageStore.cpp.

◆ reset()

void FIX::MessageStoreExceptionWrapper::reset ( bool &  threw,
IOException ex 
)

Definition at line 149 of file MessageStore.cpp.

◆ set()

bool FIX::MessageStoreExceptionWrapper::set ( int  num,
const std::string &  msg,
bool &  threw,
IOException ex 
)

Definition at line 86 of file MessageStore.cpp.

86  { return m_pStore->getNextSenderMsgSeqNum(); }
87  catch ( IOException & e ) { threw = true; ex = e; return 0; }
88 }
89 
90 int MessageStoreExceptionWrapper::getNextTargetMsgSeqNum( bool& threw, IOException& ex ) const
91 {

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

◆ setNextSenderMsgSeqNum()

void FIX::MessageStoreExceptionWrapper::setNextSenderMsgSeqNum ( int  num,
bool &  threw,
IOException ex 
)

Definition at line 114 of file MessageStore.cpp.

115  catch ( IOException & e ) { threw = true; ex = e; }
116 }
117 
118 void MessageStoreExceptionWrapper::incrNextTargetMsgSeqNum( bool& threw, IOException& ex )
119 {

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

◆ setNextTargetMsgSeqNum()

void FIX::MessageStoreExceptionWrapper::setNextTargetMsgSeqNum ( int  num,
bool &  threw,
IOException ex 
)

Definition at line 121 of file MessageStore.cpp.

122  catch ( IOException & e ) { threw = true; ex = e; }
123 }
124 
125 UtcTimeStamp MessageStoreExceptionWrapper::getCreationTime( bool& threw, IOException& ex )
126 {

References FIX::MessageStore::incrNextTargetMsgSeqNum(), and m_pStore.

Member Data Documentation

◆ m_pStore

MessageStore* FIX::MessageStoreExceptionWrapper::m_pStore
private

The documentation for this class was generated from the following files:
FIX::MessageStoreExceptionWrapper::m_pStore
MessageStore * m_pStore
Definition: MessageStore.h:170
FIX::MessageStoreExceptionWrapper::reset
void reset(bool &, IOException &)
Definition: MessageStore.cpp:149
FIX::MessageStoreExceptionWrapper::setNextSenderMsgSeqNum
void setNextSenderMsgSeqNum(int, bool &, IOException &)
Definition: MessageStore.cpp:114
FIX::MessageStoreExceptionWrapper::getNextTargetMsgSeqNum
int getNextTargetMsgSeqNum(bool &, IOException &) const
Definition: MessageStore.cpp:107
FIX::MessageStore::getCreationTime
virtual UtcTimeStamp getCreationTime() const =0
FIX::MessageStore::incrNextSenderMsgSeqNum
virtual void incrNextSenderMsgSeqNum()=0
FIX::MessageStoreExceptionWrapper::incrNextSenderMsgSeqNum
void incrNextSenderMsgSeqNum(bool &, IOException &)
Definition: MessageStore.cpp:128
FIX::MessageStore::incrNextTargetMsgSeqNum
virtual void incrNextTargetMsgSeqNum()=0
FIX::TYPE::UtcTimeStamp
@ UtcTimeStamp
Definition: FieldTypes.h:940
FIX::MessageStoreExceptionWrapper::incrNextTargetMsgSeqNum
void incrNextTargetMsgSeqNum(bool &, IOException &)
Definition: MessageStore.cpp:135
FIX::MessageStore::reset
virtual void reset()=0
FIX::MessageStore::setNextTargetMsgSeqNum
virtual void setNextTargetMsgSeqNum(int)=0
FIX::MessageStore::refresh
virtual void refresh()=0
FIX::MessageStoreExceptionWrapper::setNextTargetMsgSeqNum
void setNextTargetMsgSeqNum(int, bool &, IOException &)
Definition: MessageStore.cpp:121
FIX::MessageStoreExceptionWrapper::refresh
void refresh(bool &, IOException &)
Definition: MessageStore.cpp:156
FIX::MessageStore::getNextSenderMsgSeqNum
virtual int getNextSenderMsgSeqNum() const =0
FIX::MessageStoreExceptionWrapper::getCreationTime
UtcTimeStamp getCreationTime(bool &, IOException &)
Definition: MessageStore.cpp:142
FIX::MessageStore::getNextTargetMsgSeqNum
virtual int getNextTargetMsgSeqNum() const =0
FIX::MessageStore::setNextSenderMsgSeqNum
virtual void setNextSenderMsgSeqNum(int)=0

Generated on Wed Apr 29 2020 19:41:30 for QuickFIX by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2001