Re: [Quickfix-users] a naive question, but...
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2006-08-15 17:49:04
|
Mark, They are not allocated on the heap at all, but on the stack. The stack therefore cleans up the message when it goes out of scope (which is after the callback method). The callback should absolutely not try to delete the message. --oren On Aug 15, 2006, at 10:59 AM, Mark T. Kennedy wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ > html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > ... who owns the heap storage for the FIX::Message objects passed over > the Application interface? the quickfix runtime? or the user's > callback code? i.e. if the callback code never deletes them, will > they > exist until the containing heavy-weight process goes away? or if the > callback deletes the message, will anything break in the quickfix > runtime? > > /mark > > > This communication and any attachments may contain confidential/ > proprietary information and is intended for information purposes > only. It is not an invitation or offer to purchase interests from > Diamondback. Any representation to the contrary is unintentional. > This communication is intended only for the person(s) to whom it is > addressed. If you are not the intended recipient you are hereby > notified that you have received this document in error and that any > review, dissemination, distribution, or copying of this message or > any attachments is not permitted. If you have received this in > error, please notify the sender immediately by e-mail and delete > this message. All e-mails sent to or received from this address > will be received by Diamondback Capital Management's company e-mail > system and is subject to archival and possible review by someone > other than the recipient. This notice is automatically appended to > each e-mail message leaving Diamondback Capital Management. > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > |