{{Quickfixn}} Splitting QuickFix messages into DLLs / Nupkg

Dan Shechter dans at houmus.org
Sun Mar 5 23:48:33 PST 2017


I wrote a trading app on the example Tradeclient that was on the quickfixn
github page. It is now heavily modified, but regarding logging on and off
it hasn't been changed. I now have the issue that when the logout button is
pressed, it calls the Initiator.Stop, but it doesn't enter into OnLogout as
it's supposed to do. When logging on it does everything right,
initiator.start and then the OnCreate and then OnLogon, but when logging
out, the OnLogout isn't triggered. Any ideas what could be the issue?

    private void Disconnect(object ignored)
    {
        Trace.WriteLine("ConnectionViewModel::Disconnect called");
        _qfapp.Stop();
    }

    public void Stop()
    {
        Trace.WriteLine("QFApp::Stop() called");
        Initiator.Stop(true);
    }

    public void OnLogout(QuickFix.SessionID sessionID)
    {
        // not sure how ActiveSessionID could ever be null, but it happened.
        string a = (this.ActiveSessionID == null) ? "null" :
this.ActiveSessionID.ToString();
        Trace.WriteLine(String.Format("==OnLogout: {0}==", a));

        if (LogoutEvent != null)
        {
            LogoutEvent();
        }
    }


Thanks in advance,

Mihkel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20170123/e077c77b/attachment-0001.htm>


More information about the Quickfixn mailing list