Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

corrections to IInitiator refactor; add ResetOnXXX to executor.cfg

  • Loading branch information...
commit 7d74d6fa2267b7bb03f378af52a707c50156cd36 1 parent 90ac20d
@gbirchmeier gbirchmeier authored
View
3  Examples/Executor/executor.cfg
@@ -6,6 +6,9 @@ StartTime=00:00:00
EndTime=00:00:00
FileLogPath=log
UseDataDictionary=Y
+ResetOnLogon=Y
+ResetOnLogout=Y
+ResetOnDisconnect=Y
[SESSION]
BeginString=FIX.4.0
View
3  QuickFIX.NET/AbstractInitiator.cs
@@ -3,7 +3,7 @@
namespace QuickFix
{
- public abstract class AbstractInitiator
+ public abstract class AbstractInitiator : IInitiator
{
private object sync_ = new object();
private Dictionary<SessionID,Session> sessions_ = new Dictionary<SessionID, Session>();
@@ -112,7 +112,6 @@ public bool IsLoggedOn()
{
lock (sync_)
{
-
foreach (SessionID sessionID in connected_)
{
if (Session.LookupSession(sessionID).IsLoggedOn)
View
24 QuickFIX.NET/IInitiator.cs
@@ -18,29 +18,5 @@ public interface IInitiator
void Stop(bool force);
bool IsLoggedOn();
-
- /// <summary>
- /// Start connecting to targets.
- /// </summary>
- void OnStart();
-
- /// <summary>
- /// Connect and poll for events.
- /// </summary>
- /// <param name="timeout"></param>
- /// <returns></returns>
- bool OnPoll(double timeout);
-
- /// <summary>
- /// Stop a running initiator.
- /// </summary>
- void OnStop();
-
- /// <summary>
- /// Connect a session to its target.
- /// </summary>
- /// <param name="sessionID"></param>
- /// <param name="settings"></param>
- void DoConnect(SessionID sessionID, QuickFix.Dictionary settings);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.