[Quickfix-developers] ruby questions
Brought to you by:
orenmnero
From: Alex G. <ale...@bl...> - 2008-07-07 11:26:26
|
Hello all, Just started playing with QF, so far it's a lovely bit of code, thanks for all the hard work! Few apparently ruby-specific questions: 1: I can't seem to log sessions out, calling Quickfix::Session.logout gives "undefined method `logout' for Quickfix::Session:Class" despite the fact I can see it in the SWIG file. 2: Calling initiator.stop doesn't seem to generate logout messages but my understanding of the logout method is that it should (unless for some reason those messages doesn't pass through screenlog). It does however seem to issue a heartbeat (?!) before closing: > Issuing stop > <20080707-11:15:24, FIX.4.2:EXAMP->TESTER, outgoing> > (8=FIX. 4.29=5535=034=1649=EXAMP52=20080707-11:15:24.35056=TESTER10=080) 3: I'm having a little trouble getting hold of session object directly. From searching around the docs and this list I tried both getSession and lookupSession but I don't understand what's needed in a ruby environment for the responder argument for getSession and lookupSession returned "No matching function for overloaded 'Session_lookupSession' (ArgumentError)". Using Ruby 1.8.7 on OSX10.5.4 and (after trying 1844 and reading the checkin notes) Quickfix 1854. Looking forward to really digging into quickfix, Alex |