forked from connamara/quickfixn
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request connamara#291 from martinadams/rx_intercept
Add new Application Callback (non-breaking) for early intercept of inbou...
- Loading branch information
Showing
4 changed files
with
106 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters