RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Public Attributes
Datacratic::RemoteInput Struct Reference

List of all members.

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

Detailed Description

Definition at line 16 of file remote_input.h.


Member Function Documentation

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.

Shutdown and stop listening.

Definition at line 177 of file remote_input.cc.


Member Data Documentation

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.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator