Exemplo n.º 1
0
 /// <summary>
 /// The OnSessionRxAdmMessage callback is invoked by a session
 /// when it receives an administrative (session) layer message
 /// from the peer session it's interacting with.
 /// </summary>
 /// <param name="session">
 /// The IVfxFixSession implementation that is issuing
 /// the callback to the handler.
 /// </param>
 /// <param name="msg">
 /// The session layer message that was received.
 /// </param>
 public void OnSessionRxAdmMessage(IVfxFixSession session, FixMessage msg)
 {
     if (_mapAppSessions.ContainsKey(session.InstanceId))
     {
         IVfxFixAppSession appSession = _mapAppSessions[session.InstanceId];
         _application.OnSessionRxAdmMessage(appSession, msg);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// The OnSessionRxAdmMessage callback is invoked by a session
 /// when it receives an administrative (session) layer message
 /// from the peer session it's interacting with.
 /// </summary>
 /// <param name="session">
 /// The IVfxFixSession implementation that is issuing
 /// the callback to the handler.
 /// </param>
 /// <param name="msg">
 /// The session layer message that was received.
 /// </param>
 public void OnSessionRxAdmMessage(IVfxFixSession session, FixMessage msg)
 {
     // REC: Forward the admin message to the application:
     _fixApplication.OnSessionRxAdmMessage(_appSession, msg);
 }