abstract connection handler to process incoming data (independent of protocol) More...
#include <network.h>

Public Types | |
| typedef boost::signals2::signal< void(const char *data, const size_t size, Any_Session *writer)> | SIG_ON_DATA |
| incoming data with "data" of size "size" and handler to write back ("writer") More... | |
Public Member Functions | |
| Any_Session (SIG_ON_DATA &cb) | |
| every session needs a data handler More... | |
| virtual void | write (const std::string &buffer)=0 |
| write a string to the network connection More... | |
| virtual | ~Any_Session () |
Protected Attributes | |
| SIG_ON_DATA & | on_data_ |
| signal handler for incoming data More... | |
abstract connection handler to process incoming data (independent of protocol)
| typedef boost::signals2::signal<void (const char *data, const size_t size, Any_Session *writer)> Any_Session::SIG_ON_DATA |
|
inline |
|
pure virtual |
write a string to the network connection
Implemented in TCP_Session.
|
protected |