Re: [Quickfix-developers] modifications to support CME iLink - any interest?
Brought to you by:
orenmnero
From: QM <eqm...@nw...> - 2012-05-29 15:13:14
|
Good point. I see how that would work for the in-session logon. (I can't say either way for using this toAdmin() change in the max-2500-resend case... I haven't researched that angle, as we resolved it in a different way.) Patch included, below, for throwing DoNotSend from toAdmin(). Index: src/C++/Session.cpp =================================================================== --- src/C++/Session.cpp (revision 2335) +++ src/C++/Session.cpp (working copy) @@ -522,7 +522,10 @@ if ( Message::isAdminMsgType( msgType ) ) { - m_application.toAdmin( message, m_sessionID ); + try{ + m_application.toAdmin( message, m_sessionID ); + } + catch ( DoNotSend& ) { return false; } if( msgType == "A" && !m_state.receivedReset() ) { On Tue, May 22, 2012 at 4:03 PM, Natala, Benjamin J < ben...@jp...> wrote: > The ability to throw DoNotSend in toAdmin would be very useful and > presumably would not require config changes. With that alone, the other > features you added could be hacked in without modifying quickfix source. > > -Ben > > -----Original Message----- > From: QM [mailto:eqm...@nw...] > Sent: Tuesday, May 22, 2012 4:28 PM > To: qui...@li... > Subject: [Quickfix-developers] modifications to support CME iLink - any > interest? > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > This email is confidential and subject to important disclaimers and > conditions including on offers for the purchase or sale of > securities, accuracy and completeness of information, viruses, > confidentiality, legal privilege, and legal entity disclaimers, > available at http://www.jpmorgan.com/pages/disclosures/email. > |