quickfix-developers Mailing List for QuickFIX (Page 273)
Brought to you by:
orenmnero
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
(5) |
Mar
(16) |
Apr
(15) |
May
(17) |
Jun
(33) |
Jul
(35) |
Aug
(34) |
Sep
(19) |
Oct
(40) |
Nov
(51) |
Dec
(43) |
2003 |
Jan
(45) |
Feb
(79) |
Mar
(124) |
Apr
(121) |
May
(132) |
Jun
(77) |
Jul
(110) |
Aug
(57) |
Sep
(48) |
Oct
(83) |
Nov
(60) |
Dec
(40) |
2004 |
Jan
(67) |
Feb
(72) |
Mar
(74) |
Apr
(87) |
May
(70) |
Jun
(96) |
Jul
(75) |
Aug
(147) |
Sep
(128) |
Oct
(83) |
Nov
(67) |
Dec
(42) |
2005 |
Jan
(110) |
Feb
(84) |
Mar
(68) |
Apr
(55) |
May
(51) |
Jun
(192) |
Jul
(111) |
Aug
(100) |
Sep
(79) |
Oct
(127) |
Nov
(73) |
Dec
(112) |
2006 |
Jan
(95) |
Feb
(120) |
Mar
(138) |
Apr
(127) |
May
(124) |
Jun
(97) |
Jul
(103) |
Aug
(88) |
Sep
(138) |
Oct
(91) |
Nov
(112) |
Dec
(57) |
2007 |
Jan
(55) |
Feb
(35) |
Mar
(56) |
Apr
(16) |
May
(20) |
Jun
(77) |
Jul
(43) |
Aug
(47) |
Sep
(29) |
Oct
(54) |
Nov
(39) |
Dec
(40) |
2008 |
Jan
(69) |
Feb
(79) |
Mar
(122) |
Apr
(106) |
May
(114) |
Jun
(76) |
Jul
(83) |
Aug
(71) |
Sep
(53) |
Oct
(75) |
Nov
(54) |
Dec
(43) |
2009 |
Jan
(32) |
Feb
(31) |
Mar
(64) |
Apr
(48) |
May
(38) |
Jun
(43) |
Jul
(35) |
Aug
(15) |
Sep
(52) |
Oct
(62) |
Nov
(62) |
Dec
(21) |
2010 |
Jan
(44) |
Feb
(10) |
Mar
(47) |
Apr
(22) |
May
(5) |
Jun
(54) |
Jul
(19) |
Aug
(54) |
Sep
(16) |
Oct
(15) |
Nov
(7) |
Dec
(8) |
2011 |
Jan
(18) |
Feb
(9) |
Mar
(5) |
Apr
(5) |
May
(41) |
Jun
(40) |
Jul
(29) |
Aug
(17) |
Sep
(12) |
Oct
(23) |
Nov
(22) |
Dec
(11) |
2012 |
Jan
(8) |
Feb
(24) |
Mar
(5) |
Apr
(5) |
May
(6) |
Jun
(5) |
Jul
(5) |
Aug
(5) |
Sep
(2) |
Oct
(9) |
Nov
(2) |
Dec
(18) |
2013 |
Jan
(25) |
Feb
(16) |
Mar
(8) |
Apr
(2) |
May
(16) |
Jun
(17) |
Jul
(2) |
Aug
(13) |
Sep
(3) |
Oct
(4) |
Nov
(1) |
Dec
|
2014 |
Jan
(2) |
Feb
|
Mar
(22) |
Apr
(9) |
May
(3) |
Jun
(1) |
Jul
(5) |
Aug
(11) |
Sep
(18) |
Oct
(4) |
Nov
(4) |
Dec
(3) |
2015 |
Jan
(2) |
Feb
|
Mar
|
Apr
(3) |
May
(4) |
Jun
(37) |
Jul
|
Aug
(4) |
Sep
(6) |
Oct
(1) |
Nov
(4) |
Dec
(2) |
2016 |
Jan
(9) |
Feb
(3) |
Mar
(7) |
Apr
(1) |
May
(8) |
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
(3) |
Nov
(16) |
Dec
|
2017 |
Jan
(1) |
Feb
(15) |
Mar
(2) |
Apr
(12) |
May
(4) |
Jun
(7) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
(23) |
Dec
(8) |
2018 |
Jan
(2) |
Feb
(4) |
Mar
(2) |
Apr
(8) |
May
(3) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(5) |
Nov
(3) |
Dec
|
2020 |
Jan
|
Feb
(4) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
(12) |
Aug
(5) |
Sep
(3) |
Oct
(1) |
Nov
|
Dec
(1) |
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Oren M. <ore...@ya...> - 2003-06-27 15:14:25
|
Do you know what exception is being thrown. Try setting up a catch block for std::exception and print out what(). That should tell us why the exception is being thrown. --- murphypa <mur...@pe...> wrote: > Hi, > > > I have tried to process an encrypted message > (supplied below) to a > Message object. This fails with an exception. > > > DataDictionary encDataDictionary( > "spec/FIX42.xml" ); > > assert( object.setString (strEnc, true, > &encDataDictionary) ); > > I have subsequently appended the following to the > Message::extractField (...): > > In the "if ( pDD && pDD->isDataField(field) )" > block: > > > else if ( isHeaderField( lenField ) && > m_header.isSetField( lenField ) ) > > { > > fieldLength = m_header.getField( lenField ); > > soh = equalSign + 1 + atol( > fieldLength.c_str() ); > > } > > else if ( isTrailerField( lenField ) && > m_trailer.isSetField( lenField ) ) > > { > > fieldLength = m_trailer.getField( lenField ); > > soh = equalSign + 1 + atol( > fieldLength.c_str() ); > > } > . > > What I want to know is - have I missed anything - > and are there any > other places I would have to investigate? > > sincerely > murphypa > > EncMsg: > "8=FIX.4.29=18935=849=PERESYS56=UBS34=352=20030627-11:34:5554=211=494,101940=238=600039=055=OMLJ.J17=494,1019:1:Ack20=037=494,1019150=06=0151=600014=032=031=093=1689=Ó > > ÷I¤u[ø_+òå10=138" > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An > INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% > Monthly Commission! > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: murphypa <mur...@pe...> - 2003-06-27 14:45:40
|
Hi, I have tried to process an encrypted message (supplied below) to a Message object. This fails with an exception. > DataDictionary encDataDictionary( "spec/FIX42.xml" ); > assert( object.setString (strEnc, true, &encDataDictionary) ); I have subsequently appended the following to the Message::extractField (...): In the "if ( pDD && pDD->isDataField(field) )" block: > else if ( isHeaderField( lenField ) && m_header.isSetField( lenField ) ) > { > fieldLength = m_header.getField( lenField ); > soh = equalSign + 1 + atol( fieldLength.c_str() ); > } > else if ( isTrailerField( lenField ) && m_trailer.isSetField( lenField ) ) > { > fieldLength = m_trailer.getField( lenField ); > soh = equalSign + 1 + atol( fieldLength.c_str() ); > } . What I want to know is - have I missed anything - and are there any other places I would have to investigate? sincerely murphypa EncMsg: "8=FIX.4.29=18935=849=PERESYS56=UBS34=352=20030627-11:34:5554=211=494,101940=238=600039=055=OMLJ.J17=494,1019:1:Ack20=037=494,1019150=06=0151=600014=032=031=093=1689=Ó ÷I¤u[ø_+òå10=138" |
From: Oren M. <ore...@ya...> - 2003-06-27 14:15:04
|
All times in QuickFIX are represented as UTC --- Jo Janssens <jo...@tr...> wrote: > I have been having a problem with getting the > sequence numbers to reset > automatically in the morning when I restart. Are the > StartTime and > EndTime params in the cfg file supposed to be in UTC > or local time? (I > am using 1.4.1) > > Thanks, > Jo > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Jo J. <jo...@tr...> - 2003-06-27 13:54:36
|
I have been having a problem with getting the sequence numbers to reset automatically in the morning when I restart. Are the StartTime and EndTime params in the cfg file supposed to be in UTC or local time? (I am using 1.4.1) Thanks, Jo |
From: Oren M. <ore...@ya...> - 2003-06-27 11:18:42
|
You will need to modify your UTCTimeStampConvertor to allow for this format. Do you actually want to use the milliseconds or ignore them? --- ili...@bn... wrote: > Hello everybody, > I have a problem with the format of UTCTimeStamp. I > am receiving tag 370 > like so: YYYYMMDD-HH:MM:SS.sss, and my FIX engine > keeps rejecting the > messages. Tag 58 is populated with "Incorrect data > format for value". > > Does anybody know how to fix that? > > Thanks. > Ilyas > > > > > This message and any attachments (the "message") is > intended solely for the addressees and is > confidential. > If you receive this message in error, please delete > it and > immediately notify the sender. Any use not in accord > with > its purpose, any dissemination or disclosure, either > whole > or partial, is prohibited except formal approval. > The internet > can not guarantee the integrity of this message. > BNP PARIBAS (and its subsidiaries) shall (will) not > therefore be liable for the message if modified. > > > --------------------------------------------- > > Ce message et toutes les pieces jointes (ci-apres le > > "message") sont etablis a l'intention exclusive de > ses > destinataires et sont confidentiels. Si vous recevez > ce > message par erreur, merci de le detruire et d'en > avertir > immediatement l'expediteur. Toute utilisation de ce > message non conforme a sa destination, toute > diffusion > ou toute publication, totale ou partielle, est > interdite, sauf > autorisation expresse. L'internet ne permettant pas > d'assurer l'integrite de ce message, BNP PARIBAS (et > ses > filiales) decline(nt) toute responsabilite au titre > de ce > message, dans l'hypothese ou il aurait ete modifie. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An > INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% > Monthly Commission! > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Oren M. <ore...@ya...> - 2003-06-27 10:50:44
|
Caleb, Thanks for these patches. The semi-colon thing for Fields.h can actually be done by changing the generator (Fields.h is a generated file). This would be done in Fields.xsl http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/quickfix/quickfix/spec/Fields.xsl?annotate=1.4 Looks like your Session class is failing 20 unit tests. This is quite bad and is telling you that the behavior of your sessions will be undefined. Essentially it is telling you not to use that build. The acceptance tests will likely verify this. The unit + acceptance tests gives us a goal for creating a succefull port. If all of them pass, then we can be reasonably assured that the port to your compiler is succesful. --- Caleb Epstein <ca...@bk...> wrote: > > Hi, I'm new to the world of quickfix, and to this > list. > Forgive me fi this has alreayd been addressed, but > I didn't > see anything in the mailing list archives. > > Attached is a gzip'ed diff of the changes I had to > make to get > the quickfix-1.5.0 code to compile with the Sun > Workshop C++ > compiler verison 5.3, specifically version: > > CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-14 > 2003/03/24 > > The bulk of the changes involve removing some stray > semicolons > after DEFINE_* macros which gcc seems to ignore. > The other > large part of the changes involves removing > gcc-isms for > generating dependency files from the Makefile.in's. > No real > code changes at all. > > I had to also remove the > SessionIDTestCase from the test library as the > compiler > complained that it didn't implement one or more > virtual > functions form CPPTest::Test<SessionID>. > > The diff is attached, but is also available at the > follownig > URL. > > http://bklyn.org/~cae/quickfix.sunwspro.diff > > I'm attaching it in compressed form here since it > is rather > large. Apologies if this annoys anyone. I'm also > attaching > the output of "runut" from my compiled library - a > number of > test fail, and I'm not sure of the significance of > this. I > don't have ruby installed,q so I'm unable to run > the > acceptance tests at the present time. > > -- > Caleb Epstein | bklyn . org | The louder he talked > of his honour, the faster > cae at | Brooklyn Dust | we counted our > spoons. > bklyn dot org | Bunny Mfg. | -- Ralph Waldo > Emerson > > ATTACHMENT part 2 application/octet-stream name=quickfix.sunwspro.diff.gz > <ut> > <output> > .....................................................F..F.FFF...FFFFFFFFFFFFF..F.F........................................... > </output> > <results total="125" failures="20"> > <failure line= "0" file= "unknown"> > <test> > <![CDATA[ unknown]]> > </test> > <text> > <![CDATA[ assert(Field not found)]]> > </text> > </failure> > <failure line= "161" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ FIX::SessionTestCase::nextLogon]]> > </test> > <text> > <![CDATA[ assert(m_toLogon == 1)]]> > </text> > </failure> > <failure line= "217" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::notifyResendRequest]]> > </test> > <text> > <![CDATA[ assert(m_toResendRequest == 1)]]> > </text> > </failure> > <failure line= "226" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::incrMsgSeqNum]]> > </test> > <text> > <![CDATA[ > assert(object.getExpectedSenderNum() == 2)]]> > </text> > </failure> > <failure line= "242" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::callDisconnect]]> > </test> > <text> > <![CDATA[ assert(m_disconnect == 0)]]> > </text> > </failure> > <failure line= "434" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::nextTestRequest]]> > </test> > <text> > <![CDATA[ assert(m_fromTestRequest == 1)]]> > </text> > </failure> > <failure line= "448" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::outOfOrder]]> > </test> > <text> > <![CDATA[ > assert(object.getExpectedSenderNum() == 2)]]> > </text> > </failure> > <failure line= "470" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ FIX::SessionTestCase::logout]]> > </test> > <text> > <![CDATA[ assert(m_toLogout == 1)]]> > </text> > </failure> > <failure line= "493" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::badOrigSendingTime]]> > </test> > <text> > <![CDATA[ assert(m_toReject == 1)]]> > </text> > </failure> > <failure line= "518" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::noOrigSendingTime]]> > </test> > <text> > <![CDATA[ assert(m_toReject == 1)]]> > </text> > </failure> > <failure line= "533" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ FIX::SessionTestCase::badCompID]]> > </test> > <text> > <![CDATA[ assert(m_toReject == 1)]]> > </text> > </failure> > <failure line= "548" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::nextReject]]> > </test> > <text> > <![CDATA[ assert(m_fromReject == 1)]]> > </text> > </failure> > <failure line= "584" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::badMsgType]]> > </test> > <text> > <![CDATA[ assert(m_disconnect == 0)]]> > </text> > </failure> > <failure line= "598" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::nextSequenceReset]]> > </test> > <text> > <![CDATA[ assert(m_fromSequenceReset == > 1)]]> > </text> > </failure> > <failure line= "624" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::nextGapFill]]> > </test> > <text> > <![CDATA[ assert(m_fromSequenceReset == > 1)]]> > </text> > </failure> > <failure line= "665" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::nextResendRequest]]> > </test> > <text> > <![CDATA[ assert(m_toSequenceReset == 1)]]> > </text> > </failure> > <failure line= "700" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::badBeginString]]> > </test> > <text> > <![CDATA[ assert(m_disconnect == 0)]]> > </text> > </failure> > <failure line= "717" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::unsupportedMsgType]]> > </test> > <text> > <![CDATA[ assert(m_toBusinessMessageReject > == 1)]]> > </text> > </failure> > <failure line= "824" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::resetOnEndTime]]> > </test> > <text> > <![CDATA[ assert(m_disconnect == 0)]]> > </text> > </failure> > <failure line= "864" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::resetOnNewSession]]> > </test> > === message truncated === __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Caleb E. <ca...@bk...> - 2003-06-25 22:15:04
|
Hi, I'm new to the world of quickfix, and to this list. Forgive me fi this has alreayd been addressed, but I didn't see anything in the mailing list archives. Attached is a gzip'ed diff of the changes I had to make to get the quickfix-1.5.0 code to compile with the Sun Workshop C++ compiler verison 5.3, specifically version: CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-14 2003/03/24 The bulk of the changes involve removing some stray semicolons after DEFINE_* macros which gcc seems to ignore. The other large part of the changes involves removing gcc-isms for generating dependency files from the Makefile.in's. No real code changes at all. I had to also remove the SessionIDTestCase from the test library as the compiler complained that it didn't implement one or more virtual functions form CPPTest::Test<SessionID>. The diff is attached, but is also available at the follownig URL. http://bklyn.org/~cae/quickfix.sunwspro.diff I'm attaching it in compressed form here since it is rather large. Apologies if this annoys anyone. I'm also attaching the output of "runut" from my compiled library - a number of test fail, and I'm not sure of the significance of this. I don't have ruby installed,q so I'm unable to run the acceptance tests at the present time. -- Caleb Epstein | bklyn . org | The louder he talked of his honour, the faster cae at | Brooklyn Dust | we counted our spoons. bklyn dot org | Bunny Mfg. | -- Ralph Waldo Emerson |
From: <ili...@bn...> - 2003-06-25 16:27:30
|
Hello everybody, I have a problem with the format of UTCTimeStamp. I am receiving tag 370 like so: YYYYMMDD-HH:MM:SS.sss, and my FIX engine keeps rejecting the messages. Tag 58 is populated with "Incorrect data format for value". Does anybody know how to fix that? Thanks. Ilyas This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. |
From: <sil...@tu...> - 2003-06-24 14:59:00
|
I already found the solution. I thing that my solution is more simply. 1. Just add next methods to Quickfix::Message class bool Message::IsSetField(QuickFix::Field& field) { =20 QF_STACK_TRY int fieldNumber =3D field.getField(); return m_pUnmanaged->isSetField(fieldNumber); QF_STACK_CATCH } bool Message::IsSetField(int fieldNumber) { QF_STACK_TRY return m_pUnmanaged->isSetField(fieldNumber); QF_STACK_CATCH } 2. Add next method to Quickfix::Message::Header class bool Message::Header::IsSetField(int fieldNumber) { QF_STACK_TRY return m_message->IsSetField(fieldNumber); QF_STACK_CATCH } 3. And add next methods to Quickfix::Message::Trailer class bool Message::Trailer::IsSetField(int fieldNumber) { QF_STACK_TRY return m_message->IsSetField(fieldNumber); QF_STACK_CATCH } 4. Add to NET_FIELD_SET define which is defined in Message.h next lines: bool IsSet##FIELD() \ { QuickFix::FIELD* value =3D new QuickFix::FIELD(); \ int fieldnumber =3D value->getField(); \ return IsSetField(fieldnumber);} Best regards,=20 Slava Tretyak. ----- Original Message -----=20 From: "Rob Kulseth" <ro...@ri...> To: "???????? ???????" <sil...@tu...>; = <qui...@li...> Sent: Tuesday, June 24, 2003 5:31 PM Subject: RE: [Quickfix-developers] Re: IsSetField is not available in = the C# assemblies I assume you would like to be able to do the following //Example 1********************************************************** MsgType mt =3D new MsgType(); if(message.getHeader().isSet(mt)) //a MsgType field exists and it's value is already in the mt variable else //the message does not contain a MsgType Field. just an example //Example = 2************************************************************** XmlData xd =3D new XmlData() if(message.isSet(xd)) //an XmlData field exists and it's value is already in the mt variable else //the message does not contain a MsgType Field. //***********************************************************************= * To get the above capability, paste the following code into the public = sections of both the Message class and the Header class in the = src/Net/message.h file. There is probably a better way to do this, = which is why I never submitted it before, but it works well. it was = Oren's suggestion for a quick Fix (no pun intended) that he gave me = through this message board. Maybe he could add it to the release. //begin copy bool Message::isSet( StringField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( BooleanField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( CharField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( IntField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( DoubleField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( UtcTimeStampField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( UtcDateField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( UtcTimeOnlyField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } //end Copy -----Original Message----- From: sil...@tu... [mailto:sil...@tu...] Sent: Tuesday, June 24, 2003 1:39 AM To: mur...@pe... Cc: qui...@li... Subject: [Quickfix-developers] Re: IsSetField is not available in the C# = assemblies What do you mean? How can I resolve this problem? --- murphypa <murphypa@pe...> wrote: > Re this topic: >=20 > IsSetField is not available in the C# assemblies > (neither on the Message=20 > nor on the Group classes). > As I do not want to trap exceptions when I do not > need to - I added the=20 > call to the Message > and Group class headers. >=20 > What is the recommended way of doing these > additions? >=20 > sincerely, > mpa |
From: Rob K. <ro...@ri...> - 2003-06-24 14:31:38
|
I assume you would like to be able to do the following //Example 1********************************************************** MsgType mt =3D new MsgType(); if(message.getHeader().isSet(mt)) //a MsgType field exists and it's value is already in the mt variable else //the message does not contain a MsgType Field. just an example //Example = 2************************************************************** XmlData xd =3D new XmlData() if(message.isSet(xd)) //an XmlData field exists and it's value is already in the mt variable else //the message does not contain a MsgType Field. //***********************************************************************= * To get the above capability, paste the following code into the public = sections of both the Message class and the Header class in the = src/Net/message.h file. There is probably a better way to do this, = which is why I never submitted it before, but it works well. it was = Oren's suggestion for a quick Fix (no pun intended) that he gave me = through this message board. Maybe he could add it to the release. //begin copy bool Message::isSet( StringField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( BooleanField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( CharField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( IntField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( DoubleField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( UtcTimeStampField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( UtcDateField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } bool Message::isSet( UtcTimeOnlyField* f){ try{getField(f);return true;} catch(Exception & e){} return false; } //end Copy -----Original Message----- From: sil...@tu... [mailto:sil...@tu...] Sent: Tuesday, June 24, 2003 1:39 AM To: mur...@pe... Cc: qui...@li... Subject: [Quickfix-developers] Re: IsSetField is not available in the C# = assemblies What do you mean? How can I resolve this problem? --- murphypa <murphypa@pe...> wrote: > Re this topic: >=20 > IsSetField is not available in the C# assemblies > (neither on the Message=20 > nor on the Group classes). > As I do not want to trap exceptions when I do not > need to - I added the=20 > call to the Message > and Group class headers. >=20 > What is the recommended way of doing these > additions? >=20 > sincerely, > mpa |
From: <sil...@tu...> - 2003-06-24 06:40:42
|
What do you mean? How can I resolve this problem? --- murphypa <murphypa@pe...> wrote: > Re this topic: >=20 > IsSetField is not available in the C# assemblies > (neither on the Message=20 > nor on the Group classes). > As I do not want to trap exceptions when I do not > need to - I added the=20 > call to the Message > and Group class headers. >=20 > What is the recommended way of doing these > additions? >=20 > sincerely, > mpa |
From: Oren M. <ore...@ya...> - 2003-06-23 15:15:27
|
You can post your changes to the quickfix-developers mailing list and they will get checked in. Thank you. --- murphypa <mur...@pe...> wrote: > Re this topic: > > IsSetField is not available in the C# assemblies > (neither on the Message > nor on the Group classes). > As I do not want to trap exceptions when I do not > need to - I added the > call to the Message > and Group class headers. > > What is the recommended way of doing these > additions? > > sincerely, > mpa > > qui...@li... > wrote: > > >Send Quickfix-developers mailing list submissions > to > > qui...@li... > > > >To subscribe or unsubscribe via the World Wide Web, > visit > > > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > >or, via email, send a message with subject or body > 'help' to > > qui...@li... > > > >You can reach the person managing the list at > > qui...@li... > > > >When replying, please edit your Subject line so it > is more specific > >than "Re: Contents of Quickfix-developers > digest..." > > > > > >Today's Topics: > > > > 1. Re: How can I check if message contains some > > field. (Joerg Thoennes) > > 2. Re: How can I check if message contains some > > field. (Joerg Thoennes) > > 3. Fw: [Quickfix-developers] How can I check if > message contains some field. (???????? ???????) > > 4. QuickFIX java - DLL and JAR files (Alexandre > Hoang) > > > >--__--__-- > > > >Message: 1 > >Date: Fri, 20 Jun 2003 14:30:02 +0200 > >From: Joerg Thoennes <Joe...@ma...> > >Reply-To: Joe...@ma... > >Organization: Macdonald Associates > >To: > =?ISO-8859-15?Q?=3F=3F=3F=3F=3F=3F=3F=3F_=3F=3F=3F=3F=3F=3F=3F?= > > <sil...@tu...> > >CC: qui...@li... > >Subject: Re: [Quickfix-developers] How can I check > if message contains some > > field. > > > >Hello Vjacheslav, > > > > > > > >>How can I check if message contains some > field(i.e. tag 269)? > >> > >> > > > >Just use > > > > if ( message->isSetField(269) ) { > > ... > > } > > > >This is difficult to find, this this method is in > the class FieldMap > >which is the base class of message. > > > >If you use getField( 269 ), a FieldNotFound > exception will be thrown > >if the field does not exist. > > > >Privet, Jörg ;-) > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An > INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% > Monthly Commission! > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: murphypa <mur...@pe...> - 2003-06-23 07:02:59
|
Re this topic: IsSetField is not available in the C# assemblies (neither on the Message nor on the Group classes). As I do not want to trap exceptions when I do not need to - I added the call to the Message and Group class headers. What is the recommended way of doing these additions? sincerely, mpa qui...@li... wrote: >Send Quickfix-developers mailing list submissions to > qui...@li... > >To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/quickfix-developers >or, via email, send a message with subject or body 'help' to > qui...@li... > >You can reach the person managing the list at > qui...@li... > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Quickfix-developers digest..." > > >Today's Topics: > > 1. Re: How can I check if message contains some > field. (Joerg Thoennes) > 2. Re: How can I check if message contains some > field. (Joerg Thoennes) > 3. Fw: [Quickfix-developers] How can I check if message contains some field. (???????? ???????) > 4. QuickFIX java - DLL and JAR files (Alexandre Hoang) > >--__--__-- > >Message: 1 >Date: Fri, 20 Jun 2003 14:30:02 +0200 >From: Joerg Thoennes <Joe...@ma...> >Reply-To: Joe...@ma... >Organization: Macdonald Associates >To: =?ISO-8859-15?Q?=3F=3F=3F=3F=3F=3F=3F=3F_=3F=3F=3F=3F=3F=3F=3F?= > <sil...@tu...> >CC: qui...@li... >Subject: Re: [Quickfix-developers] How can I check if message contains some > field. > >Hello Vjacheslav, > > > >>How can I check if message contains some field(i.e. tag 269)? >> >> > >Just use > > if ( message->isSetField(269) ) { > ... > } > >This is difficult to find, this this method is in the class FieldMap >which is the base class of message. > >If you use getField( 269 ), a FieldNotFound exception will be thrown >if the field does not exist. > >Privet, Jörg ;-) > > > |
From: ???????? ??????? <sil...@tu...> - 2003-06-20 13:40:17
|
----- Original Message ----- From: "???????? ???????" <sil...@tu...> To: <Joe...@ma...> Sent: Friday, June 20, 2003 3:52 PM Subject: Re: [Quickfix-developers] How can I check if message contains some field. > Hello! Privet. > Do you speak Russian? > > I use quickfix.dll for .Net(c#). > I have a QuickFix42.SecurityDefinition message. This message does contain > method isSetField and > QuickFix42.SecurityDefinition does not derive from FieldMap class. > > Best regards. > > ----- Original Message ----- > From: "Joerg Thoennes" <Joe...@ma...> > To: "???????? ???????" <sil...@tu...> > Cc: <qui...@li...> > Sent: Friday, June 20, 2003 3:30 PM > Subject: Re: [Quickfix-developers] How can I check if message contains some > field. > > > > Hello Vjacheslav, > > > > > How can I check if message contains some field(i.e. tag 269)? > > > > Just use > > > > if ( message->isSetField(269) ) { > > ... > > } > > > > This is difficult to find, this this method is in the class FieldMap > > which is the base class of message. > > > > If you use getField( 269 ), a FieldNotFound exception will be thrown > > if the field does not exist. > > > > Privet, Jörg ;-) > > > > -- > > Joerg Thoennes > > http://macd.com > > Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH > > Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen > > > |
From: Joerg T. <Joe...@ma...> - 2003-06-20 13:19:23
|
Vjacheslav Tretjak wrote: > Hello! Privet. > Do you speak Russian? Da, govorju. Desjat let v shkolje (GDR). > I use quickfix.dll for .Net(c#). > I have a QuickFix42.SecurityDefinition message. This message does contain > method isSetField and > QuickFix42.SecurityDefinition does not derive from FieldMap class. But if it derives from Message? Sorry, but I am just about to leave the office so I have no time to analyse this further. Just put this message on Cc: to the developers list. These guys are very helpful... Cheers i poka, Jörg > ----- Original Message ----- > From: "Joerg Thoennes" <Joe...@ma...> > To: "???????? ???????" <sil...@tu...> > Cc: <qui...@li...> > Sent: Friday, June 20, 2003 3:30 PM > Subject: Re: [Quickfix-developers] How can I check if message contains some > field. > > > >>Hello Vjacheslav, >> >> >>>How can I check if message contains some field(i.e. tag 269)? >> >>Just use >> >>if ( message->isSetField(269) ) { >> ... >>} >> >>This is difficult to find, this this method is in the class FieldMap >>which is the base class of message. >> >>If you use getField( 269 ), a FieldNotFound exception will be thrown >>if the field does not exist. >> >>Privet, Jörg ;-) >> >>-- >>Joerg Thoennes >> http://macd.com >>Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH >>Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen >> > > > -- Joerg Thoennes http://macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen |
From: Joerg T. <Joe...@ma...> - 2003-06-20 12:30:49
|
Hello Vjacheslav, > How can I check if message contains some field(i.e. tag 269)? Just use if ( message->isSetField(269) ) { ... } This is difficult to find, this this method is in the class FieldMap which is the base class of message. If you use getField( 269 ), a FieldNotFound exception will be thrown if the field does not exist. Privet, Jörg ;-) -- Joerg Thoennes http://macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen |
From: Alexandre H. <a....@ca...> - 2003-06-20 10:02:55
|
Hello, I'd like to use QuickFix (version 1.4.1 or 1.5.0) through its Java API. Could anybody send me the compiled files: "quickfix_jni.dll" and "quickfix.jar" ? Thanks, Alexandre * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * = * *=20 Confidentiality Notice: The information contained in this e-mail = message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended = recipient or an agent responsible for delivering it to 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 is = strictly prohibited. If you have received this communication in error, please = notify us immediately by e-mail, and delete the original message.=20 Message confidentiel : Les informations contenues dans ce message sont destin=E9es =E0 un usage personnel et confidentiel du destinataire = indiqu=E9 ci-dessus. Si le lecteur de ce message n'est pas le destinataire = pr=E9vu, ou n'est pas une personne en charge de le d=E9livrer au destinataire = voulu, vous =EAtes par la pr=E9sente inform=E9 que vous avez re=E7u ce document par = erreur, et que tout examen, transmission, distribution ou copie de ce message est totalement interdit. Si vous avez re=E7u cette communication par = erreur, nous vous remercions de bien vouloir nous avertir imm=E9diatement par e-mail = et de d=E9truire le message d'origine. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * = * *=20 |
From: <sil...@tu...> - 2003-06-20 06:42:16
|
How can I check if message conatains some fix field? |
From: Jo J. <jo...@tr...> - 2003-06-19 18:30:47
|
This problem occurs occasionally when I try to send a message. I am using quickfix 1.4.1 (1.5.0 crashes on me) with .net 1.0. I turned on the USING_CALLSTACK macro to show the stack trace below. There seems to be some kind of dangling pointer that causes a null reference exception at the following location: at std._Tree<std::_Tmap_traits<int,FIX::FieldBase,FIX::message_order,std::a llocator<std::pair<int const ,FIX::FieldBase> >,0> >._Erase(_Tree<std::_Tmap_traits<int,FIX::FieldBase,FIX::message_order,s td::allocator<std::pair<int const ,FIX::FieldBase> >,0> >* , _Node* _Rootnode) at std._Tree<std::_Tmap_traits<int,FIX::FieldBase,FIX::message_order,std::a llocator<std::pair<int const ,FIX::FieldBase> >,0> >._Erase(_Tree<std::_Tmap_traits<int,FIX::FieldBase,FIX::message_order,s td::allocator<std::pair<int const ,FIX::FieldBase> >,0> >* , _Node* _Rootnode) at std._Tree<std::_Tmap_traits<int,FIX::FieldBase,FIX::message_order,std::a llocator<std::pair<int const ,FIX::FieldBase> >,0> >._Erase(_Tree<std::_Tmap_traits<int,FIX::FieldBase,FIX::message_order,s td::allocator<std::pair<int const ,FIX::FieldBase> >,0> >* , _Node* _Rootnode) at FIX.FieldMap.=(FieldMap* , FieldMap* ) at Application.toApp(Application* , Message* message, SessionID* sessionID) at FIX.Session.sendToTarget(Message* , SessionID* ) at QuickFix.Session.sendToTarget(Message message, SessionID sessionID) Any ideas?? Thanks, Jo Janssens |
From: Rattinger, J. <Joh...@sa...> - 2003-06-19 16:49:32
|
Oren, No, I am not even touching the message. It is being rejected at the session level and sending a reject for the other side. Since it is rejected by the session, my OnMessage function never gets called. The raw messages are listed below. order --> 8=FIX.4.0^A9=118^A35=D^A34=18^A49=SAC0^A50=u50035^A52=20030619-13:09:04^A56= SLK0^A11=STRAT_1056027531^A21=1^A38=100^A40=2^A44=22^A54=1^A55=ADI^A59=0^A10 =091^A <-- new 8=FIX.4.0^A9=231^A35=8^A49=SLK0^A56=SAC0^A34=19^A57=u50035^A52=20030619-13:0 9:06^A17=11210001^A20=0^A19=0^A39=0^A37=OAH00001^A11=STRAT_1056027531^A54=1^ A55=ADI^A38=100^A40=2^A59=0^A44=22.00000000^A32=0^A31=0.00000000^A30=N^A14=0 ^A6=0.00000000^A1=COHE^A60=20030619-13:09:06^A10=082^A reject --> 8=FIX.4.0^A9=83^A35=3^A34=19^A49=SAC0^A52=20030619-13:09:06^A56=SLK0^A45=19^ A58=Required tag missing (58)^A10=187^A <-- fill 8=FIX.4.0^A9=245^A35=8^A49=SLK0^A56=SAC0^A34=20^A57=u50035^A52=20030619-13:0 9:10^A17=750810001^A20=0^A19=0^A39=2^A37=OAH00001^A11=STRAT_1056027531^A54=1 ^A55=ADI^A38=100^A40=2^A59=0^A44=22.00000000^A32=100^A31=22.00000000^A30=N^A 14=100^A6=22.00000000^A1=COHE^A76=LOC^A60=20030619-13:09:10^A10=058^A reject --> 8=FIX.4.0^A9=83^A35=3^A34=20^A49=SAC0^A52=20030619-13:09:10^A56=SLK0^A45=20^ A58=Required tag missing (58)^A10=166^A -----Original Message----- From: Oren Miller [mailto:ore...@ya...] Sent: Thursday, June 19, 2003 9:56 AM To: Rattinger, John; 'qui...@li...' Subject: Re: [Quickfix-developers] unexpected ERROR - "Required tag missing (58)" Are you trying to read this field in your code? If you try to pull out a field without first checking for it's presence, the message will throw an exception. If you have code like: Text text; message.get( text ); You are essentially saying that this code requires the presence of this field whether or not the XML file agrees. So such code will result in that message. Is this something you are doing? --- "Rattinger, John" <Joh...@sa...> wrote: > Hello All, > > I am running FIX.4.0, using quickfix 1.4. on a > solaris 8 sun box. > > My fix process is generating the following reject to > all exec (35=8) > messages - "Required tag missing (58)". I don't know > why it complains about > the text field which is not a required field. If I > setup a simulator that > populates field 58, my server is happy. > Unfortunately, I am having trouble > stepping into the quickfix functions with gdb, > therefore I can't tell what > is actually going on below the covers. > > The xml file looks fine - <filed number='58' > name='Text' required='N'> > > Any and all pointers will be appreciated. > > Thanks > John > > > > DISCLAIMER: This e-mail message and any attachments > are intended solely for > the use of the individual or entity to which it is > addressed and may contain > information that is confidential or legally > privileged. If you are not the > intended recipient, you are hereby notified that any > dissemination, > distribution, copying or other use of this message > or its attachments is > strictly prohibited. If you have received this > message in error, please > notify the sender immediately and permanently delete > this message and any > attachments. > > > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com DISCLAIMER: This e-mail message and any attachments are intended solely for the use of the individual or entity to which it is addressed and may contain information that is confidential or legally privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete this message and any attachments. |
From: Vitor C. <vc...@hi...> - 2003-06-19 15:22:33
|
Great! You're right. Thank you. -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Oren Miller Sent: quinta-feira, 19 de Junho de 2003 14:50 To: Vitor Castro; 'Miller, Oren' Cc: qui...@li... Subject: RE: [Quickfix-developers] BUG in Session.cpp. Messages not being resent. I thought so too at first, but then I realized that toString needs to be called after toAdmin or toApp in case the user modified the message in their callback. So I checked in something similar to what you originally suggested. --- Vitor Castro <vc...@hi...> wrote: > Yes that is of course much more intelligent. How can > that be checked in? > Will you do it? > > > > -----Original Message----- > From: > qui...@li... > [mailto:qui...@li...] > On Behalf Of > Oren Miller > Sent: quarta-feira, 18 de Junho de 2003 20:20 > To: Vitor Castro; 'Miller, Oren' > Cc: qui...@li... > Subject: Re: [Quickfix-developers] BUG in > Session.cpp. Messages not > being resent. > > > What do you think about instead pulling: > > messageString = message.toString(); > > up to line 413, and passing the messageString into > send on lines 425 and 433. > > --- Vitor Castro <vc...@hi...> wrote: > > Hi Oren, > > > > I found what I think is a bug introduced during > the > > last optimization > > done on Session.cpp regarding the use of the > > toString() methods: > > > > In Session::sendRaw has the following code: > > > > 432 if ( isLoggedOn() ) result = > > 433 send( message.toString(messageString) ); > > > > ... > > ... > > > > 441 m_state.set( msgSeqNum, messageString > > ); > > > > In which messageString is being changed by the > > toString method as a side > > effect. The problem is that it is only changed if > > the session is logged > > on and is being used in line 441 to store the > > message in the > > messageStore. > > > > The effect of this is that if some message is > > generated while the other > > party is disconnected, the message doesn't get > > stored and consequently > > it will not be resent upon reconnection of the > other > > party. > > > > I suggest the following change: > > Lines 432, 433 should be: > > > > 432 messageString = message.toString(); > > 433 if ( isLoggedOn() ) result = > > 434 send( messageString ); > > > > Best regards, and once again thank you for this > > excellent piece of code > > > > Vitor Castro > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An > > INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get > 10% > > Monthly Commission! > > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > > _______________________________________________ > > Quickfix-developers mailing list > > Qui...@li... > > > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An > INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% > Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: <sil...@tu...> - 2003-06-19 14:04:25
|
Hi, Please help. How can I check if message contains some field(i.e. tag 269)? Best regards. |
From: Oren M. <ore...@ya...> - 2003-06-19 13:55:51
|
Are you trying to read this field in your code? If you try to pull out a field without first checking for it's presence, the message will throw an exception. If you have code like: Text text; message.get( text ); You are essentially saying that this code requires the presence of this field whether or not the XML file agrees. So such code will result in that message. Is this something you are doing? --- "Rattinger, John" <Joh...@sa...> wrote: > Hello All, > > I am running FIX.4.0, using quickfix 1.4. on a > solaris 8 sun box. > > My fix process is generating the following reject to > all exec (35=8) > messages - "Required tag missing (58)". I don't know > why it complains about > the text field which is not a required field. If I > setup a simulator that > populates field 58, my server is happy. > Unfortunately, I am having trouble > stepping into the quickfix functions with gdb, > therefore I can't tell what > is actually going on below the covers. > > The xml file looks fine - <filed number='58' > name='Text' required='N'> > > Any and all pointers will be appreciated. > > Thanks > John > > > > DISCLAIMER: This e-mail message and any attachments > are intended solely for > the use of the individual or entity to which it is > addressed and may contain > information that is confidential or legally > privileged. If you are not the > intended recipient, you are hereby notified that any > dissemination, > distribution, copying or other use of this message > or its attachments is > strictly prohibited. If you have received this > message in error, please > notify the sender immediately and permanently delete > this message and any > attachments. > > > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Oren M. <ore...@ya...> - 2003-06-19 13:52:16
|
What do you mean by the day before? All times are recorded in UTC, so it is possible that the time difference will make it look like a different day. Are you saying that the UTC date is not what it should be? --- "Van Gelder Eddy (KAOB 41)" <edd...@cr...> wrote: > Hi, > > I've noticed a problem with the logging when leaving > the QF engine running overnight. > I've configured my engine to stop at 16:30 and start > again at 06:00. > > The first log-entries that are made at 06:00 still > have the timestamp of the day before : > > Is this a known behaviour ? > > Thanks, > > Eddy > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An > INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% > Monthly Commission! > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Oren M. <ore...@ya...> - 2003-06-19 13:49:57
|
I thought so too at first, but then I realized that toString needs to be called after toAdmin or toApp in case the user modified the message in their callback. So I checked in something similar to what you originally suggested. --- Vitor Castro <vc...@hi...> wrote: > Yes that is of course much more intelligent. How can > that be checked in? > Will you do it? > > > > -----Original Message----- > From: > qui...@li... > [mailto:qui...@li...] > On Behalf Of > Oren Miller > Sent: quarta-feira, 18 de Junho de 2003 20:20 > To: Vitor Castro; 'Miller, Oren' > Cc: qui...@li... > Subject: Re: [Quickfix-developers] BUG in > Session.cpp. Messages not > being resent. > > > What do you think about instead pulling: > > messageString = message.toString(); > > up to line 413, and passing the messageString into > send on lines 425 and 433. > > --- Vitor Castro <vc...@hi...> wrote: > > Hi Oren, > > > > I found what I think is a bug introduced during > the > > last optimization > > done on Session.cpp regarding the use of the > > toString() methods: > > > > In Session::sendRaw has the following code: > > > > 432 if ( isLoggedOn() ) result = > > 433 send( message.toString(messageString) ); > > > > ... > > ... > > > > 441 m_state.set( msgSeqNum, messageString > > ); > > > > In which messageString is being changed by the > > toString method as a side > > effect. The problem is that it is only changed if > > the session is logged > > on and is being used in line 441 to store the > > message in the > > messageStore. > > > > The effect of this is that if some message is > > generated while the other > > party is disconnected, the message doesn't get > > stored and consequently > > it will not be resent upon reconnection of the > other > > party. > > > > I suggest the following change: > > Lines 432, 433 should be: > > > > 432 messageString = message.toString(); > > 433 if ( isLoggedOn() ) result = > > 434 send( messageString ); > > > > Best regards, and once again thank you for this > > excellent piece of code > > > > Vitor Castro > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An > > INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get > 10% > > Monthly Commission! > > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > > _______________________________________________ > > Quickfix-developers mailing list > > Qui...@li... > > > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An > INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% > Monthly Commission! > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |