59 static Engine * init(
const std::string & configFile,
ISessionReactor * stack = ONIXS_FIXENGINE_NULLPTR);
60 static Engine * init(
const std::string & configFile,
const ISessionReactors & stacks);
68 static Engine * initFromString(
const std::string & configuration,
ISessionReactor * stack = ONIXS_FIXENGINE_NULLPTR);
69 static Engine * initFromString(
const std::string & configuration,
const ISessionReactors & stacks);
83 void log(
const std::string & message);
88 static void shutdown();
95 static Engine * instance();
100 static bool initialized();
105 int listenPort()
const;
111 const std::string & logDirectory()
const;
117 Dictionaries dictionaries()
const;
125 void addSessionDictionary(
const std::string & dictionaryFile);
132 void addSessionDictionaryFromString(
const std::string & dialectString);
140 void addListenPort(
int port,
ISessionReactor * stack = ONIXS_FIXENGINE_NULLPTR);
141 void addListenPorts(
const ListenPorts & ports,
const ISessionReactors & stacks =
ISessionReactors());
147 void removeListenPort(
int port);
148 void removeListenPorts(
const ListenPorts & ports);
154 void addSslListenPort(
int port);
155 void addSslListenPorts(
const ListenPorts & ports);
161 void removeSslListenPort(
int port);
162 void removeSslListenPorts(
const ListenPorts & ports);
173 void unregisterListener();
184 void synchronizeHighResolutionTimeServiceWithSystemTime();
The Engine's Listener.
std::vector< OnixS::FIX::Dictionary > Dictionaries
#define ONIXS_FIXENGINE_API
std::vector< ISessionReactor * > ISessionReactors
std::vector< int > ListenPorts
Listen ports.
ONIXS_FIXENGINE_API_DECL(class, IEngineListener)
The session's network stack reactor interface.
The timestamps related functionality.