Esempio n. 1
0
 /// <summary>
 /// The OnSessionStarted callback method is invoked by an
 /// instance of a session when it is activated.
 /// </summary>
 /// <param name="session">
 /// The FIX session that the event relates to.
 /// </param>
 public void OnSessionOpened(IVfxFixSession session)
 {
     if (_mapAppSessions.ContainsKey(session.InstanceId))
     {
         IVfxFixAppSession appSession = _mapAppSessions[session.InstanceId];
         _application.OnSessionOpened(appSession);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// the OnSessionOpened callback is invoked by the underlying
 /// instance of a FIX session to notify the service that it has
 /// been started. At this point, the session is merely connected
 /// to the peer system and no messages have been exchanged.
 /// </summary>
 /// <param name="session">
 /// The FIX session that the event relates to.
 /// </param>
 public void OnSessionOpened(IVfxFixSession session)
 {
     _fixApplication.OnSessionOpened(_appSession);
 }