Re: [Quickfix-users] XmlSerializer causes "Logout" in acceptor app
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2007-01-23 20:50:13
|
Are you sure that the serializer isn't throwing an exception? --oren > Constructing an XmlSerializer object inside an onMessage() callback =20= > causes QuickFIX to generate a =93logout=94. > > > > Here is C# example code: > > > > class OrderSession : MessageCracker, Application > > { > > public void onCreate(SessionID sessID) {} =85=85.. onLogon(), =20= > toAdmin(), etc, etc. > > > > public override void onMessage(QuickFix42.NewOrderSingle =20 > fixOrder, SessionID session) > > { > > Object myobject =3D new Object(); > > XmlSerializer x =3D new XmlSerializer(typeof(Object)); // =20= > causes logout > > } > > } > > > > Anyone else experienced this problem? > > > > Thanks, > > > > Amir > > > > > > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-=20 > +-+-+-+- > This message is for the named person's use only. This communication =20= > is for > informational purposes only and has been obtained from sources =20 > believed to > be reliable, but it is not necessarily complete and its accuracy =20 > cannot be > guaranteed. It is not intended as an offer or solicitation for the =20 > purchase > or sale of any financial instrument or as an official confirmation =20 > of any > transaction. Moreover, this material should not be construed to =20 > contain any > recommendation regarding, or opinion concerning, any security. It may > contain confidential, proprietary or legally privileged =20 > information. No > confidentiality or privilege is waived or lost by any =20 > mistransmission. If > you receive this message in error, please immediately delete it and =20= > all > copies of it from your system, destroy any hard copies of it and =20 > notify the > sender. You must not, directly or indirectly, use, disclose, =20 > distribute, > print, or copy any part of this message if you are not the intended > recipient. Any views expressed in this message are those of the =20 > individual > sender, except where the message states otherwise and the sender is > authorized to state them to be the views of any such entity. > > Securities products and services provided to Canadian investors are =20= > offered > by ITG Canada Corp. (member CIPF and IDA), an affiliate of Investment > Technology Group, Inc. > > ITG Inc. and/or its affiliates reserves the right to monitor and =20 > archive > all electronic communications through its network. > > ITG Inc. Member NASD, SIPC > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-=20 > +-+-+-+- > ----------------------------------------------------------------------=20= > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV____________________________= ____=20 > _______________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users |