{{Quickfixn}} What is difference between "IsLoggedOn" & "IsStopped"?

Mike Gatny mgatny at connamara.com
Fri Feb 24 06:58:38 PST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20120224/c32713ff/attachment-0002.htm>


More information about the Quickfixn mailing list