[Quickfix-developers] QuickFix Logon
Brought to you by:
orenmnero
|
From: John H. <jr...@ya...> - 2006-09-15 13:32:51
|
Brenda,
Please look at the following code snippet (from VB 2005). It successfully returns to me the Logon Status of each of the sessions defined in my .cfg file. I think it might help you with what you are trying to do.
Dim allSessions As ArrayList = mySessionSettings.getSessions
Dim obj As SessionID
For Each obj In allSessions
Dim mySession As Session = Session.lookupSession(obj)
MsgBox(obj.getTargetCompID & ", IsLoggedOn = " & mySession.isLoggedOn)
Next
Regards,
John
------------------------------------------------
Hi,
One of our application use QuickFix to connect to Bloomberg fix server. Sometimes, after calling initiator.start(), event onLogon(SessionID sessionID)was trigger, but function initiator.isLoggedOn() still return false. I wonder which is the right way to determine initiator has logged on Fix server successfully.
Thanks,
Brenda
|