Distinguishing Between Two Quickfix Initiator Sessions
I am using QuickFix with Python bindings to connect to a broker and I have two Initiator Sessions in my config file. One is for the price and the other for the order session. My
Solution 1:
As you noted, the method bool Initiator::isLoggedOn() will tell you if any session is currently logged on.
Use bool Initiator::isConnected( const SessionID& sessionID ) to check a specific session.
SocketInitiator inherits both of these from Initiator.
Post a Comment for "Distinguishing Between Two Quickfix Initiator Sessions"