28#include "OnixS/Eurex/Trading/Export.h"
80 void connect(
const char* hostName,
UInt16 port,
const Logon& logon,
const char* localNetworkInterface =
"");
108 const char* primaryHostName,
110 const char* secondaryHostName,
113 const char* localNetworkInterface =
""
246 static std::string
encryptPassword(
const std::string& password,
const std::string& pubKeyPath);
Provides events representing changes in the Handler's connection state.
void registerWarningListener(WarningListener *listener)
static const std::string & version()
Returns Handler's version.
void registerHandlerStateListener(HandlerStateListener *listener)
void registerErrorListener(ErrorListener *listener)
void registerAdminListener(AdminListener *listener)
void connect(const char *hostName, UInt16 port, const Logon &logon, const char *localNetworkInterface="")
void registerSRQSListener(SRQSListener *listener)
void registerQuoteAndCrossRequestListener(QuoteAndCrossRequestListener *listener)
void log(LogLevel::Enum logLevel, const std::string &str)
Logs the given user-level message to the handler log.
static std::string encryptPassword(const std::string &password, const std::string &pubKeyPath)
void registerSessionListener(SessionListener *listener)
void connect(const char *primaryHostName, UInt16 primaryPort, const char *secondaryHostName, UInt16 secondaryPort, const Logon &logon, const char *localNetworkInterface="")
void log(LogLevel::Enum logLevel, const char *logMessage, size_t length)
Logs the given user-level message to the handler log.
Handler(const HandlerSettings &settings)
void registerStrategyCreationListener(StrategyCreationListener *listener)
const std::string & licenseExpirationDate() const
void registerOrderHandlingListener(OrderHandlingListener *listener)
void registerConnectionStateListener(ConnectionStateListener *listener)
HandlerState::Enum state() const
Returns handler state.
virtual ~Handler()
Finalizes the Handler.
void registerTESListener(TESListener *listener)
void registerInfoListener(InfoListener *listener)
void log(LogLevel::Enum logLevel, const char *logMessage)
Logs the given user-level message to the handler log.
void registerQuoteHandlingListener(QuoteHandlingListener *listener)
Initial logon message parameters.
Quote And Cross Request listener.
Strategy Creation listener.
Enum
Defines the state that the handler is in.