forked from connamara/quickfixn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathILog.cs
executable file
·39 lines (34 loc) · 979 Bytes
/
ILog.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
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
namespace QuickFix
{
/// <summary>
/// (Renamed per naming convention.)
/// </summary>
[System.Obsolete("Use ILog instead.")]
public interface Log : ILog { }
/// <summary>
/// Session log for messages and events
/// </summary>
public interface ILog : IDisposable
{
/// <summary>
/// Clears the log and removes any persistent log data
/// </summary>
void Clear();
/// <summary>
/// Logs an incoming message
/// </summary>
/// <param name="msg">a raw FIX message</param>
void OnIncoming(string msg);
/// <summary>
/// Logs an outgoing message
/// </summary>
/// <param name="msg">a raw FIX message</param>
void OnOutgoing(string msg);
/// <summary>
/// Logs a session event
/// </summary>
/// <param name="s">event description</param>
void OnEvent(string s);
}
}