{{Quickfixn}} What is difference between "IsLoggedOn" & "IsStopped"?
Grant Birchmeier
gbirchmeier at connamara.com
Fri Feb 24 07:25:52 PST 2012
You have two initiator objects, correct? (One for MD session, the other
for orders.) One of them will return true from this method, the other will
return false.
The nature of your question makes me wonder if you're inadvertently doing
something in an odd fashion, but I'm not sure what to ask in order to tease
that out.
On Fri, Feb 24, 2012 at 9:18 AM, Rasheed Waraich
<rashiedwaraich at gmail.com>wrote:
> 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
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
--
Grant Birchmeier
*Connamara Systems, LLC*
*Made-To-Measure Trading Solutions.*
Exactly what you need. No more. No less.*
*
http://connamara.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20120224/453620c1/attachment-0002.htm>
More information about the Quickfixn
mailing list