castor::net::channels::Tcp::Connection Class Reference

List of all members.

Public Member Functions

 Connection (asio::io_service &service, Tcp *tcp)
asio::ip::tcp::socketgetSocket ()
void start (const NetAddress &address)
void stop ()
virtual ~Connection ()

Protected Member Functions

 Connection (const Connection &other)
void handleRead (const asio::error_code &error, size_t count)
Connectionoperator= (const Connection &other)

Protected Attributes

NetAddress address
char buffer [8192]
bool closed
asio::ip::tcp::socket socket


class Tcp

Detailed Description

Definition at line 20 of file Tcp.h.

Constructor & Destructor Documentation

castor::net::channels::Tcp::Connection::Connection ( const Connection other  )  [protected]

Definition at line 10 of file Tcp.cpp.

castor::net::channels::Tcp::Connection::Connection ( asio::io_service service,
Tcp tcp 

Definition at line 5 of file Tcp.cpp.

castor::net::channels::Tcp::Connection::~Connection (  )  [virtual]

Definition at line 16 of file Tcp.cpp.

Member Function Documentation

asio::ip::tcp::socket & castor::net::channels::Tcp::Connection::getSocket (  )  [inline]

Definition at line 72 of file Tcp.cpp.

void castor::net::channels::Tcp::Connection::handleRead ( const asio::error_code error,
size_t  count 
) [protected]

Definition at line 19 of file Tcp.cpp.

Tcp::Connection & castor::net::channels::Tcp::Connection::operator= ( const Connection other  )  [protected]

Definition at line 66 of file Tcp.cpp.

void castor::net::channels::Tcp::Connection::start ( const NetAddress address  ) 

Definition at line 76 of file Tcp.cpp.

void castor::net::channels::Tcp::Connection::stop (  ) 

Definition at line 94 of file Tcp.cpp.

Friends And Related Function Documentation

friend class Tcp [friend]

Definition at line 24 of file Tcp.h.

Member Data Documentation

Definition at line 26 of file Tcp.h.

Definition at line 34 of file Tcp.h.

Definition at line 30 of file Tcp.h.

Definition at line 32 of file Tcp.h.

Definition at line 28 of file Tcp.h.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Author(s): Carpe Noctem
autogenerated on Fri Mar 1 14:41:52 2013