{{Quickfixn}} any showstoppers, and NET 4.5/C#5

Manuel Lopez lopez.post at gmail.com
Fri Feb 24 15:17:28 PST 2012


I haven't tried quickfixn yet, so please excuse these two questions:
1.  Will there by a new release in March?  mainly looking for the
NextSenderMsgSeqNum and "showstoppers" if there are any (for fix4.4).
2.  VS11 (vs2012) beta comes out Feb 29 with a Go Live license (.NET
4.5, C#5, Entity Framework 5.0), and I'll be using that and sql2012
unless it proves flaky. Does anyone know of any issues I should expect
(would I have to recompile quickfixn to target that)?  I'll post again
once I can try everything out.



On Fri, Feb 24, 2012 at 11:58 AM,
<quickfixn-request at lists.quickfixn.com> wrote:
> Send Quickfixn mailing list submissions to
>        quickfixn at lists.quickfixn.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
> or, via email, send a message with subject or body 'help' to
>        quickfixn-request at lists.quickfixn.com
>
> You can reach the person managing the list at
>        quickfixn-owner at lists.quickfixn.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Quickfixn digest..."
>
>
> Today's Topics:
>
>   1. Re:  What is difference between "IsLoggedOn" &    "IsStopped"?
>      (Mike Gatny)
>   2. Re:  What is difference between "IsLoggedOn" &    "IsStopped"?
>      (Mike Gatny)
>   3. Re:  OnLogout is not called when you pass true in the
>      _initiator.Stop(true) (Rasheed Waraich)
>   4. Re:  What is difference between "IsLoggedOn" &    "IsStopped"?
>      (Rasheed Waraich)
>   5. Re:  What is difference between "IsLoggedOn" &    "IsStopped"?
>      (Grant Birchmeier)
>   6. Re:  OnLogout is not called when you pass true in the
>      _initiator.Stop(true) (Grant Birchmeier)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 24 Feb 2012 09:25:59 -0600
> From: Mike Gatny <mgatny at connamara.com>
> To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
> Subject: Re: {{Quickfixn}} What is difference between "IsLoggedOn" &
>        "IsStopped"?
> Message-ID:
>        <CAA1-azNn1P2d+0wZkDER7vjonz4ah67wPUacmk2TeMdGESR4fQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Fri, Feb 24, 2012 at 9:18 AM, Rasheed Waraich
> <rashiedwaraich at gmail.com>wrote:
>
>> 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?
>>
>
> Initiator.IsLoggedOn will return true if the Initiator has any sessions
> that are logged on.  If you want to determine if a particular session is
> logged on, call IsLoggedOn on the Session itself, e.g.:
> Session.LookupSession(SessionID).IsLoggedOn
>
> --
> Mike Gatny
> Connamara Systems, LLC
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20120224/14fe5c78/attachment-0001.htm>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 24 Feb 2012 09:37:46 -0600
> From: Mike Gatny <mgatny at connamara.com>
> To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
> Subject: Re: {{Quickfixn}} What is difference between "IsLoggedOn" &
>        "IsStopped"?
> Message-ID:
>        <CAA1-azMCgR60dYrN=jLKsK=0cDqZgD_T5sghgNQdCJRcrPFPqQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Fri, Feb 24, 2012 at 9:25 AM, Grant Birchmeier <gbirchmeier at connamara.com
>> wrote:
>
>> 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.
>>
>
> Two possibilities, both reasonable:
> 1) One initiator handling both sessions
> 2) Two initiators, one session on each
>
> --
> Mike Gatny
> Connamara Systems, LLC
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20120224/c116ec83/attachment-0001.htm>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 24 Feb 2012 16:38:19 +0100
> From: Rasheed Waraich <rashiedwaraich at gmail.com>
> To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
> Subject: Re: {{Quickfixn}} OnLogout is not called when you pass true
>        in the  _initiator.Stop(true)
> Message-ID:
>        <CA+bcenU_+xWsjHDqRYqyTZyUK4W2j6_3=+v706wnbcOD+wp_UA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thanks Mike, makes sense.
>
> Then first one is bug because I don't get logout event if I use
> Stop(true)...
>
> On Fri, Feb 24, 2012 at 4:08 PM, Mike Gatny <mgatny at connamara.com> wrote:
>
>> On Fri, Feb 24, 2012 at 3:42 AM, Rasheed Waraich <rashiedwaraich at gmail.com
>> > wrote:
>>
>>> What is the reason that OnLogout is never called when you pass true in
>>> the "_initiator.Stop(true);"?
>>>
>>
>> This may be a bug.   You should get an OnLogout for a session whenever a
>> Logout is received on that session, or if the connection is suddenly
>> disconnected.
>>
>>
>>> Secondly what is the difference between "_initiator.Stop();" and
>>> "_initiator.Stop(true);"? Can you please recommend that under what
>>> use-cases should we use either of them?
>>>
>>
>> Calling Initiator.Stop() logs out all sessions, and then waits to ensure
>> that they are all logged out cleanly.  If you call Initiator.Stop(true),
>> the initiator will attempt to logout the sessions, but it will not wait to
>> ensure that it is done cleanly.   You should use Stop() in most cases.
>>  However, if your application has encountered a fatal error/exception and
>> you want it to shut down immediately, use Stop(true).
>>
>> --
>> 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/6a3b82ef/attachment-0001.htm>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 24 Feb 2012 16:42:10 +0100
> From: Rasheed Waraich <rashiedwaraich at gmail.com>
> To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
> Subject: Re: {{Quickfixn}} What is difference between "IsLoggedOn" &
>        "IsStopped"?
> Message-ID:
>        <CA+bcenXwn2oC7m_EpsJew4aFkWXPu9koqXfzn0BV4soFoZaCBQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thanks Mike,
>
> Yeah we mostly use the first option... this will be quite helpful
> "Session.LookupSession(SessionID).IsLoggedOn"..
>
> Thanks again...
>
> On Fri, Feb 24, 2012 at 4:37 PM, Mike Gatny <mgatny at connamara.com> wrote:
>
>> On Fri, Feb 24, 2012 at 9:25 AM, Grant Birchmeier <
>> gbirchmeier at connamara.com> wrote:
>>
>>> 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.
>>>
>>
>> Two possibilities, both reasonable:
>> 1) One initiator handling both sessions
>> 2) Two initiators, one session on each
>>
>> --
>> 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/9733204d/attachment-0001.htm>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 24 Feb 2012 09:48:39 -0600
> From: Grant Birchmeier <gbirchmeier at connamara.com>
> To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
> Subject: Re: {{Quickfixn}} What is difference between "IsLoggedOn" &
>        "IsStopped"?
> Message-ID:
>        <CAMq4opNMF8BvqhoDh__sR5BcCMEObv-fqktJ8D6LV_hMsX1u2w at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Well, I guess I learned something new today; in all my past projects, I've
> used separate initiators.
>
>
> On Fri, Feb 24, 2012 at 9:42 AM, Rasheed Waraich
> <rashiedwaraich at gmail.com>wrote:
>
>> Thanks Mike,
>>
>> Yeah we mostly use the first option... this will be quite helpful
>> "Session.LookupSession(SessionID).IsLoggedOn"..
>>
>> Thanks again...
>>
>> On Fri, Feb 24, 2012 at 4:37 PM, Mike Gatny <mgatny at connamara.com> wrote:
>>
>>> On Fri, Feb 24, 2012 at 9:25 AM, Grant Birchmeier <
>>> gbirchmeier at connamara.com> wrote:
>>>
>>>> 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.
>>>>
>>>
>>> Two possibilities, both reasonable:
>>> 1) One initiator handling both sessions
>>> 2) Two initiators, one session on each
>>>
>>> --
>>> 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/6bb28c49/attachment-0001.htm>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 24 Feb 2012 10:58:35 -0600
> From: Grant Birchmeier <gbirchmeier at connamara.com>
> To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
> Subject: Re: {{Quickfixn}} OnLogout is not called when you pass true
>        in the  _initiator.Stop(true)
> Message-ID:
>        <CAMq4opO_pPwxq_mhf=HvLT6SydFtWZ4AEpu8B82MR1BZ+bZ2Tg at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Created an issue to track:
> https://github.com/connamara/quickfixn/issues/45
>
>
> On Fri, Feb 24, 2012 at 9:38 AM, Rasheed Waraich
> <rashiedwaraich at gmail.com>wrote:
>
>> Thanks Mike, makes sense.
>>
>> Then first one is bug because I don't get logout event if I use
>> Stop(true)...
>>
>> On Fri, Feb 24, 2012 at 4:08 PM, Mike Gatny <mgatny at connamara.com> wrote:
>>
>>> On Fri, Feb 24, 2012 at 3:42 AM, Rasheed Waraich <
>>> rashiedwaraich at gmail.com> wrote:
>>>
>>>> What is the reason that OnLogout is never called when you pass true in
>>>> the "_initiator.Stop(true);"?
>>>>
>>>
>>> This may be a bug.   You should get an OnLogout for a session whenever a
>>> Logout is received on that session, or if the connection is suddenly
>>> disconnected.
>>>
>>>
>>>> Secondly what is the difference between "_initiator.Stop();" and
>>>> "_initiator.Stop(true);"? Can you please recommend that under what
>>>> use-cases should we use either of them?
>>>>
>>>
>>> Calling Initiator.Stop() logs out all sessions, and then waits to ensure
>>> that they are all logged out cleanly.  If you call Initiator.Stop(true),
>>> the initiator will attempt to logout the sessions, but it will not wait to
>>> ensure that it is done cleanly.   You should use Stop() in most cases.
>>>  However, if your application has encountered a fatal error/exception and
>>> you want it to shut down immediately, use Stop(true).
>>>
>>> --
>>> 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/f29a825b/attachment.htm>
>
> ------------------------------
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
> End of Quickfixn Digest, Vol 4, Issue 9
> ***************************************


More information about the Quickfixn mailing list