Re: [Quickfix-developers] Just Starting...
Brought to you by:
orenmnero
From: azmat <mr...@gm...> - 2008-01-16 22:22:57
|
I went through the executor project (http://www.quickfixengine.org/quickfix/doc/html/csharp/application_2.html) but I can't see how this is beneficial to me. I have this in my code write now: ThreadedSocketInitiator _initiator = null; public void Start() { if (_initiator != null) throw new Exception("Already Started"); SessionSettings settings = new SessionSettings("FixSettings.txt"); Application application = new QFWrapper(this); FileStoreFactory storeFactory = new FileStoreFactory(settings); FileLogFactory logFactory = new FileLogFactory(settings); MessageFactory messageFactory = new DefaultMessageFactory(); _initiator = new ThreadedSocketInitiator(application, storeFactory, settings, logFactory, messageFactory); _initiator.start(); } I have a qfwrapper class that is a nested class inside of a FixServer class. QFWrapper inherits from MessageCracker and implements the QF Interface methods. The FIXServer class is the class that contains the start, stop and all the delegates I will need in order to function with a windows form. I can now communicate with our brokerage company, but the problem is in dissecting the messages that come back from the FIX Server. How do I (or where do I) take the message apart to realize what type of message it is...so I can then write all the various handling methods for the many different types of messages that we might expect from the Server. I imagine I will need to capture the message (in order to dissect it and run my own business logic) in the fromApp function. But I have no idea how to do any of the FIX Message 'surgery', so to speak. Can someone help shed some light on this? thanks! Azmat Paige wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > You should start with the executor project. Review the code, set up a > config file with your connections and see if you can connect. You can go > to the Open Fix testing website to see if you can connect and practice > sending different types of orders. Below is my config file code: > > -- View this message in context: http://www.nabble.com/Just-Starting...-tp14811784p14896451.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |