Upgrade linux quickfix
WARNING: This is NOT an official release. As of 12/10/21 20:23, the latest release of the quickfix lib (1.15.1) does not support c++17 (the FIX::Application class has fns with dynamic exceptions). This commit upgrades to a more recent (unreleased) build which supports c++17.
This commit is contained in:
1 parent
0f3130fb47
commit
fc1ae2e5cb
357 files changed
+34385
-7102
No files matched your search
@@ -46,29 +46,32 @@ class ThreadedSocketConnection : Responder
|
||||
public:
|
||||
typedef std::set<SessionID> Sessions;
|
||||
|
||||
ThreadedSocketConnection( int s, Sessions sessions, Log* pLog );
|
||||
ThreadedSocketConnection( const SessionID&, int s,
|
||||
ThreadedSocketConnection( socket_handle s, Sessions sessions, Log* pLog );
|
||||
ThreadedSocketConnection( const SessionID&, socket_handle s,
|
||||
const std::string& address, short port,
|
||||
Log* pLog );
|
||||
Log* pLog,
|
||||
const std::string& sourceAddress = "", short sourcePort = 0);
|
||||
virtual ~ThreadedSocketConnection() ;
|
||||
|
||||
Session* getSession() const { return m_pSession; }
|
||||
int getSocket() const { return m_socket; }
|
||||
socket_handle getSocket() const { return m_socket; }
|
||||
bool connect();
|
||||
void disconnect();
|
||||
bool read();
|
||||
|
||||
private:
|
||||
bool readMessage( std::string& msg ) throw( SocketRecvFailed );
|
||||
bool readMessage( std::string& msg ) EXCEPT ( SocketRecvFailed );
|
||||
void processStream();
|
||||
bool send( const std::string& );
|
||||
bool setSession( const std::string& msg );
|
||||
|
||||
int m_socket;
|
||||
socket_handle m_socket;
|
||||
char m_buffer[BUFSIZ];
|
||||
|
||||
std::string m_address;
|
||||
int m_port;
|
||||
std::string m_sourceAddress;
|
||||
int m_sourcePort;
|
||||
|
||||
Log* m_pLog;
|
||||
Parser m_parser;
|
||||
|
||||
Reference in new issue
Block a user