[Quickfix-developers] FIXML
Brought to you by:
orenmnero
From: Vamsi K. <Vam...@ib...> - 2003-04-29 14:15:06
|
Can QuickFIX FIXEngine be used to generate FIXML messages.( adhering to DTDs published in www.fixprotocol.org Thanks Vamsi /-----Original Message----- /From: qui...@li... [mailto:quickfix- /dev...@li...] On Behalf Of Peter Wood /Sent: Tuesday, April 29, 2003 3:11 AM /To: 'qui...@li...' /Subject: [Quickfix-developers] .NET SessionSettings / /Hi, All - / /I am interested in using QuickFIX and have just started putting together a /prototype - can anyone help with the following question? / /The sample C# code for initialising a QuickFIX connection is given below, /straight from the documentation. However, the FileLogFactory constructor /only takes a string (Path), not a SessionSettings object, and the /SessionSettings .NET wrapper does not expose a method to extract a /particular setting value from the SessionSettings object. / /Is there a way for me to access a particular SessionSettings value via the /SessionSettings.unmanaged() method? If so, I'd appreciate a code snippet, /if not how should I proceed? I could add the method, but will have to do /it /every time I get a new QuickFIX version... / /Regards, /Peter / / /using Fix; / /class MyClass /{ / static void Main(string[] args) / { / if(args.Length != 1) return; / String fileName = args[0]; / / try / { / SessionSettings settings = new SessionSettings(fileName); / Application application = new MyApplication(); / FileStoreFactory storeFactory = new FileStoreFactory(settings); / FileLogFactory logFactory = new FileLogFactory(settings); / MessageFactory messageFactory = new DefaultMessageFactory(); / SocketAcceptor acceptor = new SocketAcceptor / (application, factory, settings, logFactory /*optional*/, /messageFactory); / acceptor.start(); / } / catch(ConfigError e) / { / Console.WriteLine(e); / } / } /} / / / /********************************************************************** /This email and any files transmitted with it are confidential and /intended solely for the use of the individual or entity to whom they /are addressed. If you have received this email in error please notify /the system manager. / /This footnote also confirms that this email message has been swept by /MIMEsweeper for the presence of computer viruses. / /www.mimesweeper.com /********************************************************************** / / / /------------------------------------------------------- /This sf.net email is sponsored by:ThinkGeek /Welcome to geek heaven. /http://thinkgeek.com/sf /_______________________________________________ /Quickfix-developers mailing list /Qui...@li... /https://lists.sourceforge.net/lists/listinfo/quickfix-developers |