Re: [Quickfix-users] Anonymous sessions in quickfix
Brought to you by:
orenmnero
From: Djalma R. d. S. F. <drs...@gm...> - 2007-09-11 19:09:37
|
-- ideas: Create a SessionFactory as a member variable of your acceptor class and in the SocketConnection::setSession method - if Session::lookupSession returns NULL, use the factory to create a new session based on the the header information of the first message that arrives (the logon). The created Session object will automatically assume the default settings as initialized in Session constructor. Later, you might want to create a configuration file with standard definitions that user can change before starting the application and that all anonymous sessions should inherit. This way, I believe you'll no more see the 'Session not found for incoming message' in Global log. Djalma On 9/10/07, MONHEIT, David, GBM <Dav...@rb...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: > http://www.quickfixengine.org/services.html > > > > > > > Hi > > > > I was wondering if anyone has code or ideas on how to implement an Acceptor > application which could dynamically receive a new connection and create a > new session for it WITHOUT having to have this session pre-listed in the > config file... > > > > Thanks in advance, > > David > > > > David Monheit > Quantitative Trading Group > RBS Global Banking & Markets > 135 Bishopsgate, London, EC2M 3UR > Office: +44 20 7085 7254 > > The contents of this document are indicative and are subject to change > without notice. This document is intended for your sole use on the basis > that before entering into this, and/or any related transaction, you will > ensure that you fully understand the potential risks and return of this, > and/or > any related transaction and determine it is appropriate for you given your > objectives, experience, financial and operational resources, and other > relevant circumstances. You should consult with such advisors as you deem > necessary to assist you in making these determinations. The Royal > Bank of Scotland plc ("RBS") will not act as your advisor or owe any > fiduciary duties to you in connection with this, and/or any related > transaction > and no reliance may be placed on RBS for advice or recommendations of any > sort. RBS makes no representations or warranties with respect to > the information and disclaims all liability for any use you or your > advisors make of the contents of this document. RBS and its affiliates, > connected > companies, employees or clients may have an interest in financial > instruments of the type described in this document and/or related financial > instruments. Such interest may include dealing, trading, holding, acting as > market-makers in such instruments and may include providing banking, > credit and other financial services to any company or issuer of securities > or financial instruments referred to herein. RBS is authorised and > regulated in the UK by the Financial Services Authority, in Hong Kong by > the Hong Kong Monetary Authority, in Singapore by the Monetary > Authority of Singapore, in Japan by the Financial Services Agency of Japan, > in Australia RBS (Australia) Pty Ltd ABN 36 088 574 270 is > authorised and regulated by the Australian Securities and Investments > Commission and acts as agent for RBS ABN 30 101 464 528 and in the > US, by the New York State Banking Department and the Federal Reserve Board. > The financial instruments described in this document are made > in compliance with an applicable exemption from the registration > requirements of the US Securities Act of 1933. > > > *********************************************************************************** > The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered > Office: 36 St Andrew Square, Edinburgh EH2 2YB. > Authorised and regulated by the Financial Services Authority > > This e-mail message is confidential and for use by the > addressee only. If the message is received by anyone other > than the addressee, please return the message to the sender > by replying to it and then delete the message from your > computer. Internet e-mails are not necessarily secure. The > Royal Bank of Scotland plc does not accept responsibility for > changes made to this message after it was sent. > > Whilst all reasonable care has been taken to avoid the > transmission of viruses, it is the responsibility of the recipient to > ensure that the onward transmission, opening or use of this > message and any attachments will not adversely affect its > systems or data. No responsibility is accepted by The > Royal Bank of Scotland plc in this regard and the recipient should carry > out such virus and other checks as it considers appropriate. > Visit our websites at: > www.rbs.com > www.rbs.com/gbm > www.rbsgc.com > *********************************************************************************** > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit > http://www.messagelabs.com/email > ______________________________________________________________________ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > > |