58 static Engine * init(
const std::string & configFile,
ISessionReactor * stack = ONIXS_FIXENGINE_NULLPTR);
66 static Engine * initFromString(
const std::string & configuration,
ISessionReactor * stack = ONIXS_FIXENGINE_NULLPTR);
79 void log(
const std::string & message);
84 static void shutdown();
91 static Engine * instance();
96 static bool initialized();
101 int listenPort()
const;
107 const std::string & logDirectory()
const;
113 Dictionaries dictionaries()
const;
121 void addSessionDictionary(
const std::string & dictionaryFile);
128 void addSessionDictionaryFromString(
const std::string & dialectString);
134 void addListenPort(
int port);
135 void addListenPorts(
const ListenPorts & ports);
141 void removeListenPort(
int port);
142 void removeListenPorts(
const ListenPorts & ports);
148 void addSslListenPort(
int port);
149 void addSslListenPorts(
const ListenPorts & ports);
155 void removeSslListenPort(
int port);
156 void removeSslListenPorts(
const ListenPorts & ports);
167 void unregisterListener();
178 void synchronizeHighResolutionTimeServiceWithSystemTime();
The Engine's Listener.
std::vector< OnixS::FIX::Dictionary > Dictionaries
#define ONIXS_FIXENGINE_API
std::vector< int > ListenPorts
Listen ports.
ONIXS_FIXENGINE_API_DECL(class, IEngineListener)
The session's network stack reactor interface.
The timestamps related functionality.