i wanted to do something similar with perl on linux but i found it
easier to use the quickfix callbacks to convert each received message
into a string which i write to myself via a pipe. that trivially
integrates with a select/poll-based event loop. its not efficient
in an absolute sense (because of the overhead of marshalling and
demarshaling the message an extra time) but it took no time to
code. and with today's processors, the overhead is lost in the noise.
/mark
Reggie Dugard wrote:
> QuickFIX Documentation:
> http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> Sean,
>
> I saw your posts from 4 months ago on the quickfix-developers list
> regarding integrating QuickFIX socket connections into an async socket
> loop. I'm in the same situation now and I was hoping you could share
> any progress you may have made over the last several months.
>
> I'd like to write a single-threaded python application using "twisted"
> which uses the QuickFIX python bindings to communicate with a FIX server
> at one of our brokers. I'm trying to get hold of the socket that the
> SocketInitiator is using to use it in twisted's select loop and then
> call the poll method of the Initiator when the select call indicates
> that there is data ready on the socket.
>
> Were you able to do anything like this with QuickFIX's python bindings?
> Any guidance you can give would be appreciated.
>
> Thanks,
>
> -Reggie
>
> On 22 Jun 2006, sea...@da... wrote:
>> On 16 Jun 2006, at 9:40 PM, or...@qu... wrote:
>> > I don't know if I relish making these methods public in C++. Swig
>> > does allow you to pass macros into its preprocessor however, so we
>> > can probably take advantage of that to allow the header to change
>> > the protection to public when swig is processing the file.
>>
>> Actually even just making the methods public doesn't help. I
>> discovered various other solvable issues but it came down to Swig
>> needing to see the SocketConnector::Strategy declarations, and it
>> doesn't support nested classes. At that point I gave up. I think I'll
>> probably just make the FD available from SocketInitiator/
>> SocketAcceptor with an extra method and a custom patch.
>
> --
> Reggie Dugard <re...@me...>
> Merfin, LLC
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>
This communication and any attachments may contain confidential/proprietary information and is intended for information purposes only. It is not an invitation or offer to purchase interests from Diamondback. Any representation to the contrary is unintentional. This communication is intended only for the person(s) to whom it is addressed. If you are not the intended recipient you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message or any attachments is not permitted. If you have received this in error, please notify the sender immediately by e-mail and delete this message. All e-mails sent to or received from this address will be received by Diamondback Capital Management's company e-mail system and is subject to archival and possible review by someone other than the recipient. This notice is automatically appended to each e-mail message leaving Diamondback Capital Management.
|