forked from connamara/quickfixn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIApplicationExt.cs
26 lines (25 loc) · 1.37 KB
/
IApplicationExt.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
namespace QuickFix
{
/// <summary>
/// This is the optional extension interface for processing inbound messages,
/// and facilitates early interception of such messages. 'Early', in this context,
/// means after structure, length and checksum have been validated, but before any
/// further validation has been performed.
/// This interface will not normally be required, and it should be used only with caution:
/// it allows modfications to be made to irregular inbound messages that would otherwise
/// fail validation against the Fix dictionary, an provides an alternative to dictionary
/// customisation as a means of dealing with such messages.
/// </summary>
public interface IApplicationExt : IApplication
{
/// <summary>
/// This callback provides early notification of when an administrative or application message is sent from a counterparty to your FIX engine.
/// This can be useful for doing pre-processing of an inbound message after its structure, checksum and length have been validated, but before
/// any further validation has been performed on it.
/// </summary>
/// <param name="message">received message</param>
/// <param name="sessionID">session on which message received</param>
void FromEarlyIntercept(Message message, SessionID sessionID);
}
}