Sirikata
Public Member Functions
Sirikata::Network::TCPListener Class Reference

Simple wrapper around Boost.Asio's tcp::acceptor, allowing for safe, cross-platform allocation and use. More...

#include <Asio.hpp>

Inheritance diagram for Sirikata::Network::TCPListener:
Collaboration diagram for Sirikata::Network::TCPListener:

List of all members.

Public Member Functions

 TCPListener (IOService &io, const boost::asio::ip::tcp::endpoint &)
 TCPListener (IOService *io, const boost::asio::ip::tcp::endpoint &)
virtual ~TCPListener ()
void async_accept (TCPSocket &socket, const std::tr1::function< void(const boost::system::error_code &) > &cb)

Detailed Description

Simple wrapper around Boost.Asio's tcp::acceptor, allowing for safe, cross-platform allocation and use.


Constructor & Destructor Documentation

Sirikata::Network::TCPListener::TCPListener ( IOService io,
const boost::asio::ip::tcp::endpoint &  ep 
)
Sirikata::Network::TCPListener::TCPListener ( IOService io,
const boost::asio::ip::tcp::endpoint &  ep 
)
Sirikata::Network::TCPListener::~TCPListener ( ) [virtual]

Member Function Documentation

void Sirikata::Network::TCPListener::async_accept ( TCPSocket socket,
const std::tr1::function< void(const boost::system::error_code &) > &  cb 
)

The documentation for this class was generated from the following files: