{{Quickfixn}} What is difference between "IsLoggedOn" & "IsStopped"?
Rasheed Waraich
rashiedwaraich at gmail.com
Fri Feb 24 07:18:56 PST 2012
Thanks Mike,
So, lets say i have two sessions one for "market data" and other for
"orders". If one of them is successfully logged on but other is not... then
what will Initiator.IsLoggedOn will/should return?
On Fri, Feb 24, 2012 at 3:58 PM, Mike Gatny <mgatny at connamara.com> wrote:
> On Fri, Feb 24, 2012 at 3:58 AM, Rasheed Waraich <rashiedwaraich at gmail.com
> > wrote:
>
>> What is difference between "IsLoggedOn" & "IsStopped"?
>>
>
> IsLoggedOn means that the initiator has sent a Logon request and the
> acceptor has sent a Logon response. The FIX session is now logged on and
> non-logon/logout messages can be passed.
>
>
>> How can I logon without calling the the start method of initiator? Or how
>> can I logout without calling the stop method of the initiator? So, they are
>> kind of interlinked...
>
>
> They are indeed interlinked. Calling start/stop on the Initiator
> starts/stops its event loop, which handles FIX session-level things (e.g.
> heartbeats, test requests, logon/logout, etc.) for you. If you want to
> logout out particular session, you can call that session's logout method
> directly. However, if the initiator is not stopped, that session will get
> logged back on by the initiator's event loop.
>
> --
> Mike Gatny
> Connamara Systems, LLC
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
--
//Regards
Rasheed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20120224/fb250627/attachment-0002.htm>
More information about the Quickfixn
mailing list