![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Public Member Functions | |
void | listen (int port, const std::string &address, boost::function< void()> onShutdown=boost::function< void()>()) |
void | shutdown () |
int | port () const |
Public Attributes | |
boost::function< void(const std::string &)> | onData |
Definition at line 16 of file remote_input.h.
void Datacratic::RemoteInput::listen | ( | int | port, |
const std::string & | address, | ||
boost::function< void()> | onShutdown = boost::function<void ()>() |
||
) |
Listen on the given port.
Definition at line 146 of file remote_input.cc.
int Datacratic::RemoteInput::port | ( | ) | const [inline] |
What port are we listening on?
Definition at line 31 of file remote_input.h.
void Datacratic::RemoteInput::shutdown | ( | ) |
Shutdown and stop listening.
Definition at line 177 of file remote_input.cc.
boost::function<void (const std::string &)> Datacratic::RemoteInput::onData |
Function used to respond to having data.
Definition at line 37 of file remote_input.h.