Re: [Quickfix-developers] how to retrieve sent messages
Brought to you by:
orenmnero
From: Oren M. <ore...@ya...> - 2004-03-26 16:51:09
|
I would say the thing to do would be this: In the Session.h class there is this method... Log* getLog() { return &m_state; } create one just underneath like so: const MessageStore* getMessageStore() { return &m_state; } Once you do this, on the from admin with the reject you could do: Session::lookupSession( sessionid )->getMessageStore(); You can then use the get( int, const std::string& ) to get string representation of the message which you can pass to the message constructor. This will give you a generic message. If you want a specific message subclass, use the message factory. --- "Van Gelder Eddy (KATO 2)" <edd...@cr...> wrote: > Hi, > > if I get a Session level reject I only have the > RefSeqNum available in the message. > How can I retrieve the message sent with this > sequence number from the message store. > > Best Regards, > > Eddy > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux > Tutorials > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html |