![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Public Member Functions | |
ConnectManager (OnNewConnection onNewConnection, OnConnectionError onConnectionError, ActiveEndpoint *owner) | |
virtual void | doError (const std::string &error) |
virtual void | handleError (const std::string &error) |
virtual void | onCleanup () |
virtual void | handleOutput () |
virtual void | handleTimeout (Date date, size_t) |
Public Attributes | |
ActiveEndpoint::OnNewConnection | onNewConnection |
ActiveEndpoint::OnConnectionError | onConnectionError |
bool | success |
bool | doneError |
ActiveEndpoint * | owner |
Definition at line 188 of file active_endpoint.h.
virtual void Datacratic::ActiveEndpoint::ConnectManager::doError | ( | const std::string & | error | ) | [inline, virtual] |
Thing to call when we have an error
Implements Datacratic::ConnectionHandler.
Definition at line 206 of file active_endpoint.h.
virtual void Datacratic::ActiveEndpoint::ConnectManager::handleError | ( | const std::string & | message | ) | [inline, virtual] |
Function called out to when we got an error from the socket.
Reimplemented from Datacratic::ConnectionHandler.
Definition at line 214 of file active_endpoint.h.
virtual void Datacratic::ActiveEndpoint::ConnectManager::onCleanup | ( | ) | [inline, virtual] |
Function called out to to clean up before we finish for whatever reason.
Reimplemented from Datacratic::ConnectionHandler.
Definition at line 222 of file active_endpoint.h.