83 void log(
const std::string & message);
#define ONIXS_FIXENGINE_API_DECL(typeKind, typeName)
#define ONIXS_FIXENGINE_API
#define ONIXS_FIXENGINE_NULLPTR
Timestamp licenseExpirationDate() const
Returns the Engine's license expiration date.
void addSessionDictionaryFromString(const std::string &dialectString)
Adds the session level dictionary(s) from the plain text string with the description of the FIX Dicti...
void removeListenPorts(const ListenPorts &ports)
int listenPort() const
Returns the listen port.
static Engine * init(const std::string &configFile, ISessionReactor *stack=ONIXS_FIXENGINE_NULLPTR)
Initializes the FIX Engine.
void removeListenPort(int port)
Removes the listen port(s) for incoming connections.
static Engine * initFromString(const std::string &configuration, const ISessionReactors &stacks)
static Engine * init(const EngineSettings &settings, ISessionReactor *stack=ONIXS_FIXENGINE_NULLPTR)
Initializes the FIX Engine.
static void shutdown()
Shutdowns the FIX Engine and releases all resources.
void synchronizeHighResolutionTimeServiceWithSystemTime()
Performs the synchronization of the high-resolution internal time service with the system time on the...
void removeSslListenPort(int port)
Removes the ssl listen port(s) for incoming ssl connections.
Dictionaries dictionaries() const
Returns the array of loaded dictionaries.
void addSessionDictionary(const std::string &dictionaryFile)
Adds the session level dictionary(s) from the XML file(s) with the description of the FIX Dictionary(...
void log(const std::string &message)
Logs the given user's message to FIX Engine's log file.
static Engine * initFromString(const std::string &configuration, ISessionReactor *stack=ONIXS_FIXENGINE_NULLPTR)
Initializes the FIX Engine.
void unregisterListener()
Unregisters the Engine listener.
const EngineSettings & settings() const
Returns the current Engine-level settings.
static bool initialized()
Returns 'true' if the FIX Engine has been initialized, otherwise - 'false'.
void addSslListenPorts(const ListenPorts &ports)
const std::string & logDirectory() const
Returns the Engine log directory.
void removeSslListenPorts(const ListenPorts &ports)
static Engine * init(const std::string &configFile, const ISessionReactors &stacks)
static Engine * init(int listenPort=0, ISessionReactor *stack=ONIXS_FIXENGINE_NULLPTR)
Initializes the FIX Engine.
void addListenPort(int port, ISessionReactor *stack=ONIXS_FIXENGINE_NULLPTR)
Adds the listen port(s) for incoming connections.
static Engine * init(const EngineSettings &settings, const ISessionReactors &stacks)
void addSslListenPort(int port)
Adds the ssl listen port(s) for incoming ssl connections.
void registerListener(IEngineListener *listener)
Registers the Engine listener.
static Engine * instance()
Returns the Engine instance.
void addListenPorts(const ListenPorts &ports, const ISessionReactors &stacks=ISessionReactors())
The session's network stack reactor interface.
The timestamps related functionality.
std::vector< ISessionReactor * > ISessionReactors
std::vector< OnixS::FIX::Dictionary > Dictionaries
std::vector< int > ListenPorts
Listen ports.