Re: [Quickfix-users] Quickfix and Ruby
Brought to you by:
orenmnero
From: Noel R. M. <noe...@gm...> - 2010-10-14 22:45:14
|
I did that and it worked. My problem now is that my counterparty requires logon and I need to implement the onMessage. How does MessageCracker works in ruby implementation? Cheers, -- Noel Rocha http://blog.noelrocha.com.br On Thu, Oct 14, 2010 at 7:29 PM, Grant Birchmeier <gbi...@co...> wrote: > The interfaces for Initiator and Acceptor are very similar. > > As soon as you call Initiator::start(), it'll try to connect to > whatever counterparty it's configured to connect to. Similarly, > Acceptor::start() will make your acceptor start listening for > connections. > > For basic SocketAcceptors/Initiators, you shouldn't need to do much > with them besides start() and stop(). The Application class (given to > the constructor) is where the interesting stuff happens. > > If you take your example and switch all instances of "acceptor" to > "initiator", you should be most of the way there. > > -Grant > > > On Thu, Oct 14, 2010 at 5:10 PM, Noel R. Morais <noe...@gm...> wrote: >> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> I've checked the ruby examples in the quickfix source. But its an >> acceptor example. Im trying to build an initiator and didn't know how >> to logon. >> >> Cheers, >> >> -- >> Noel Rocha >> http://blog.noelrocha.com.br >> >> >> >> On Thu, Oct 14, 2010 at 6:34 PM, Noel R. Morais <noe...@gm...> wrote: >>> Hi Guys, >>> >>> Im trying to use ruby and quickfix. >>> >>> But Im a little confused about the MessageCracker. >>> >>> How does it works in using ruby? >>> >>> How do I implement an "onMessage" for Logon messages since ruby isn't type safe? >>> >>> Thanks in advance, >>> >>> -- >>> Noel Rocha >>> http://blog.noelrocha.com.br >>> >> >> ------------------------------------------------------------------------------ >> Download new Adobe(R) Flash(R) Builder(TM) 4 >> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly >> Flex(R) Builder(TM)) enable the development of rich applications that run >> across multiple browsers and platforms. Download your free trials today! >> http://p.sf.net/sfu/adobe-dev2dev >> _______________________________________________ >> Quickfix-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-users >> > |