Skip to content

Commit

Permalink
Merge pull request #831 from gbirchmeier/nullable-log-and-store
Browse files Browse the repository at this point in the history
cleanup Logger/Store classes; move them to new namespaces, fix a path-separator bug
  • Loading branch information
gbirchmeier authored Feb 9, 2024
2 parents dbf04b3 + 9909d22 commit 6bf770f
Show file tree
Hide file tree
Showing 55 changed files with 1,124 additions and 1,110 deletions.
2 changes: 2 additions & 0 deletions AcceptanceTest/TestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
using QuickFix;
using System.IO;
using System.Net;
using QuickFix.Logger;
using QuickFix.Store;

namespace AcceptanceTest;

Expand Down
2 changes: 2 additions & 0 deletions Examples/Executor/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
using System.Runtime.ConstrainedExecution;
using System.Text;
using QuickFix;
using QuickFix.Logger;
using QuickFix.Store;

namespace Executor
{
Expand Down
2 changes: 2 additions & 0 deletions Examples/SimpleAcceptor/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
using System.Linq;
using System.Text;
using QuickFix;
using QuickFix.Logger;
using QuickFix.Store;
using QuickFix.Transport;

namespace SimpleAcceptor
Expand Down
6 changes: 4 additions & 2 deletions Examples/TradeClient/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuickFix.Logger;
using QuickFix.Store;

namespace TradeClient
{
Expand Down Expand Up @@ -31,8 +33,8 @@ static void Main(string[] args)
{
QuickFix.SessionSettings settings = new QuickFix.SessionSettings(file);
TradeClientApp application = new TradeClientApp();
QuickFix.IMessageStoreFactory storeFactory = new QuickFix.FileStoreFactory(settings);
QuickFix.ILogFactory logFactory = new QuickFix.ScreenLogFactory(settings);
IMessageStoreFactory storeFactory = new FileStoreFactory(settings);
ILogFactory logFactory = new ScreenLogFactory(settings);
QuickFix.Transport.SocketInitiator initiator = new QuickFix.Transport.SocketInitiator(application, storeFactory, settings, logFactory);

// this is a developer-test kludge. do not emulate.
Expand Down
2 changes: 2 additions & 0 deletions QuickFIXn/AbstractInitiator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
using System.Threading;
using System.Collections.Generic;
using System;
using QuickFix.Logger;
using QuickFix.Store;

namespace QuickFix
{
Expand Down
1 change: 1 addition & 0 deletions QuickFIXn/ClientHandlerThread.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Net.Sockets;
using System.Threading;
using System;
using QuickFix.Logger;

namespace QuickFix
{
Expand Down
73 changes: 0 additions & 73 deletions QuickFIXn/CompositeLog.cs

This file was deleted.

28 changes: 0 additions & 28 deletions QuickFIXn/CompositeLogFactory.cs

This file was deleted.

147 changes: 0 additions & 147 deletions QuickFIXn/FileLog.cs

This file was deleted.

30 changes: 0 additions & 30 deletions QuickFIXn/FileLogFactory.cs

This file was deleted.

Loading

0 comments on commit 6bf770f

Please sign in to comment.