Re: [Quickfix-developers] Public access to calculateLength and calculateTotal in C#
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2006-02-01 23:14:55
|
Yeah, this will be taken care of for you with sendToTarget. Even if you = did put a value in for those fields, they would just get overwritten by=20 QuickFIX. --oren Mike Lee wrote: >QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/= index.html >QuickFIX Support: http://www.quickfixengine.org/services.html > >Well I'm converting 4.0 messages to 4.2 and back again. I'm trying to >keep all the same values (if they correspond) for the fields. So for >example Heartbeat is received in 4.0 I create a 4.2 Heartbeat then >proceed to copy header, message and trailer values from the 4.0 message >to the 4.2 message and since I'm changing the values within the message >I want to be able to set the length and the checksum before I send it >out. Does sendToTarget() put those values in before I send? Does it >check those values? Thanks Oren! > >Michael J Lee >Software Engineer >Trading Systems Technology > >Tradition North America >75 Park Place >4th Floor >New York NY 10007 >Phone: 212.791.6668 >Fax: 212.791.3463=20 > >-----Original Message----- >From: Oren Miller [mailto:or...@qu...]=20 >Sent: Wednesday, February 01, 2006 2:54 PM >To: Mike Lee >Cc: qui...@li... >Subject: Re: [Quickfix-developers] Public access to calculateLength and >calculateTotal in C# > >What is the intended use? QuickFIX will place of values of these for=20 >you into the Length and Checksum fields when toString is called. > >--oren > >Mike Lee wrote: > > =20 > >>QuickFIX Documentation: >> =20 >> >http://www.quickfixengine.org/quickfix/doc/html/index.html > =20 > >>QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >>FIX::Message::calculateLength() >>FIX::Message::calculateTotal() >> >>Besides changing the c++ code, is there any way to access these with >> =20 >> >C#? > =20 > >>Can it be put into some static class that accepts a message and spits >>out the value? Or is there some method available already in C# that >>will calculate these for me? >> >>Michael J Lee >>Software Engineer >>Trading Systems Technology >> >>Tradition North America >>75 Park Place >>4th Floor >>New York NY 10007 >>Phone: 212.791.6668 >>Fax: 212.791.3463=20 >> >> >> >>***********************************************************************= >> =20 >> >************ > =20 > >>This message and any files transmitted with it are confidential and >> =20 >> >intended solely for the use of the individual or entity to whom it is >addressed. It may contain sensitive and private proprietary or legally >privileged information. No confidentiality or privilege is waived or >lost by any mistransmission. If you are not the intended recipient, >please immediately delete it and all copies of it from your system, >destroy any hard copies of it and notify the sender. You must not, >directly or indirectly, use, disclose, distribute, print, or copy any >part of this message if you are not the intended recipient. Tradition >Asiel Securities Inc. and Tradition (North America) Inc. reserve the >right to monitor all e-mail communications through its networks. Any >views expressed in this message are those of the individual sender, >except where the message states otherwise and the sender is authorized >to state them. > =20 > >>Unless otherwise stated, any pricing information given in this message >> =20 >> >is indicative only, is subject to change and does not constitute an >offer to deal at any price quoted. Any reference to the terms of >executed transactions should be treated as preliminary only and subject >to our formal written confirmation. Tradition Asiel Securities Inc. and >Tradition (North America) Inc. are not responsible for any >recommendation, solicitation, offer or agreement or any information >about any transaction, customer account or account activity contained in= >this communication. > =20 > >>This footnote also confirms that this email message has been swept by >>Anti-virus detection software for the presence of computer viruses. >> >>***********************************************************************= >> =20 >> >************ > =20 > >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: Splunk Inc. Do you grep through log >> =20 >> >files > =20 > >>for problems? Stop! Download the new AJAX search engine that makes >>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!= >>http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=103432&bid#0486&dat=121642 >>_______________________________________________ >>Quickfix-developers mailing list >>Qui...@li... >>https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> >> >>=20 >> >> =20 >> > > > >************************************************************************= *********** > >This message and any files transmitted with it are confidential and inte= nded solely for the use of the individual or entity to whom it is address= ed. It may contain sensitive and private proprietary or legally privilege= d information. No confidentiality or privilege is waived or lost by any m= istransmission. If you are not the intended recipient, please immediately= delete it and all copies of it from your system, destroy any hard copies= of it and notify the sender. You must not, directly or indirectly, use, = disclose, distribute, print, or copy any part of this message if you are = not the intended recipient. Tradition Asiel Securities Inc. and Tradition= (North America) Inc. reserve the right to monitor all e-mail communicati= ons through its networks. Any views expressed in this message are those o= f the individual sender, except where the message states otherwise and th= e sender is authorized to state them. > >Unless otherwise stated, any pricing information given in this message i= s indicative only, is subject to change and does not constitute an offer = to deal at any price quoted. Any reference to the terms of executed trans= actions should be treated as preliminary only and subject to our formal w= ritten confirmation. Tradition Asiel Securities Inc. and Tradition (North= America) Inc. are not responsible for any recommendation, solicitation, = offer or agreement or any information about any transaction, customer acc= ount or account activity contained in this communication. > >This footnote also confirms that this email message has been swept by >Anti-virus detection software for the presence of computer viruses. > >************************************************************************= *********** > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log f= iles >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=103432&bid#0486&dat=121642 >_______________________________________________ >Quickfix-developers mailing list >Qui...@li... >https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > > =20 > |