B2BITS FIX Antenna HFT
1.0.16
|
#include <FixProtocols.h>
Public Types | |
typedef std::map< std::string, AppTransProtocolPair > | AppTransProtocolMap |
typedef std::pair< std::string, std::string > | AppTransProtocolPair |
typedef std::map< std::string, VersionPair > | ProtocolMap |
typedef std::set< std::string > | ProtocolSet |
typedef std::pair < Engine::ProtocolID, Engine::FIXVersion > | VersionPair |
Public Member Functions | |
void | createCustomProtocols (Utils::Properties &settings, Utils::Properties &engineSettings) |
FixProtocols () | |
Engine::FIXVersion | getBaseProtocol (Engine::ProtocolID id) const |
Engine::FIXVersion | getBaseProtocol (const char *protocolName) const |
Engine::FIXVersion | getFIX50AppVersion (const char *protocolName) const |
Engine::FIXVersion | getFIX50AppVersion (const std::string &protocolName) const |
::Engine::ProtocolID | getPredefinedProtocolID (const std::string &protocolName) const |
::Engine::ProtocolID | getProtocolID (const char *protocolName) const |
::Engine::ProtocolID | getProtocolID (const std::string &protocolName) const |
::Engine::ProtocolID | getProtocolID (const std::string &protocolName, bool enableCustomFIXProtocols) const |
const char * | getProtocolNameById (Engine::ProtocolID id) const |
const ProtocolSet & | getTransportProtocols () |
const ProtocolSet & | getUserProtocols () |
void | init () |
void | initProtocolIdMap () |
void | insertProtocolId (const std::string &userProtocolName, const std::string &appProtocolName, const std::string &transProtocolName, Engine::ProtocolID id, Engine::FIXVersion fixVersion, bool predefinedProtocol=false) |
std::string | loadProtocolFile (const std::string &file, Utils::Properties &engineSettings) |
std::string | transProtoToAppProto (const std::string &transProto, Engine::FIXVersion ver) |
Public Attributes | |
ProtocolMap | map_ |
ProtocolMap | predefinedMap_ |
std::map< std::string, std::string > | protocolFileToProtocolName_ |
std::map< std::string, std::string > | transProtoAndVerToApp_ |
ProtocolSet | transProtocols_ |
ProtocolSet | userProtocols_ |
AppTransProtocolMap | userProtoToAppTrans_ |
typedef std::map<std::string, AppTransProtocolPair> FixProtocols::AppTransProtocolMap |
typedef std::pair<std::string, std::string> FixProtocols::AppTransProtocolPair |
typedef std::map<std::string, VersionPair> FixProtocols::ProtocolMap |
typedef std::set<std::string> FixProtocols::ProtocolSet |
typedef std::pair<Engine::ProtocolID, Engine::FIXVersion> FixProtocols::VersionPair |
|
inline |
|
inline |
|
inline |
Referenced by getBaseProtocol().
|
inline |
References getBaseProtocol(), and getProtocolID().
|
inline |
References map_, and Engine::NA.
|
inline |
References map_, and Engine::NA.
|
inline |
References Engine::INVALID_PROTOCOL_ID, and predefinedMap_.
Referenced by getProtocolID().
|
inline |
References Engine::INVALID_PROTOCOL_ID, and map_.
Referenced by getBaseProtocol(), and getProtocolID().
|
inline |
References Engine::INVALID_PROTOCOL_ID, and map_.
|
inline |
References getPredefinedProtocolID(), and getProtocolID().
|
inline |
References map_.
|
inline |
References transProtocols_.
|
inline |
References userProtocols_.
|
inline |
References initProtocolIdMap().
|
inline |
References Engine::CMI2, Engine::ESFIX, Engine::FIX40, Engine::FIX50, Engine::FIX50SP2, Engine::FIXT11, insertProtocolId(), LOG_FAST_INFO, Engine::NA, Parser::Version::toProtocolID(), and Parser::Version::toString().
Referenced by init().
|
inline |
References Utils::i2str(), LOG_FAST_INFO, map_, Engine::NA, predefinedMap_, transProtoAndVerToApp_, transProtocols_, userProtocols_, and userProtoToAppTrans_.
Referenced by createCustomProtocols(), and initProtocolIdMap().
|
inline |
|
inline |
References Utils::i2str(), and transProtoAndVerToApp_.
ProtocolMap FixProtocols::map_ |
Referenced by getFIX50AppVersion(), getProtocolID(), getProtocolNameById(), and insertProtocolId().
ProtocolMap FixProtocols::predefinedMap_ |
Referenced by getPredefinedProtocolID(), and insertProtocolId().
std::map<std::string, std::string> FixProtocols::protocolFileToProtocolName_ |
Referenced by loadProtocolFile().
std::map<std::string, std::string> FixProtocols::transProtoAndVerToApp_ |
Referenced by insertProtocolId(), and transProtoToAppProto().
ProtocolSet FixProtocols::transProtocols_ |
Referenced by getTransportProtocols(), and insertProtocolId().
ProtocolSet FixProtocols::userProtocols_ |
Referenced by getUserProtocols(), and insertProtocolId().
AppTransProtocolMap FixProtocols::userProtoToAppTrans_ |
Referenced by insertProtocolId().