![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Public Member Functions | |
virtual void | onGotTransport () |
virtual void | handleData (const std::string &data) |
virtual void | handleError (const std::string &error) |
virtual void | onCleanup () |
virtual void | handleDisconnect () |
void | logMessage (const std::string &channel, const std::string &message, boost::function< void()> onMessageDone) |
void | flush (FlushLevel level=FLUSH_FULL, boost::function< void()> onFlushDone=boost::function< void()>()) |
void | close (boost::function< void()> onCloseDone=boost::function< void()>()) |
std::streamsize | write (const char *s, size_t n, boost::function< void()> onWriteFinished) |
Public Attributes | |
size_t | messageSerial |
size_t | messageWritten |
std::shared_ptr< Filter > | filter |
Definition at line 26 of file remote_output.cc.
virtual void Datacratic::RemoteOutputConnection::handleData | ( | const std::string & | data | ) | [inline, virtual] |
Function called out to when we got some data
Implements Datacratic::PassiveConnectionHandler.
Definition at line 51 of file remote_output.cc.
virtual void Datacratic::RemoteOutputConnection::handleDisconnect | ( | ) | [inline, virtual] |
Function called when there is a disconnection when reading.
Reimplemented from Datacratic::ConnectionHandler.
Definition at line 69 of file remote_output.cc.
virtual void Datacratic::RemoteOutputConnection::handleError | ( | const std::string & | message | ) | [inline, virtual] |
Function called out to when we got an error from the socket.
Implements Datacratic::PassiveConnectionHandler.
Definition at line 58 of file remote_output.cc.
virtual void Datacratic::RemoteOutputConnection::onCleanup | ( | ) | [inline, virtual] |
Function called out to to clean up before we finish for whatever reason.
Reimplemented from Datacratic::ConnectionHandler.
Definition at line 64 of file remote_output.cc.
virtual void Datacratic::RemoteOutputConnection::onGotTransport | ( | ) | [inline, virtual] |
Function called when we ge the transport.
Reimplemented from Datacratic::ConnectionHandler.
Definition at line 45 of file remote_output.cc.