All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Types | Public Member Functions | Static Public Attributes | List of all members
Akumuli::TcpSession Class Reference

#include <tcp_server.h>

Inheritance diagram for Akumuli::TcpSession:

Public Types

typedef std::shared_ptr< Byte > BufferT

Public Member Functions

 TcpSession (IOServiceT *io, std::shared_ptr< PipelineSpout > spout)
SocketT & socket ()
void start (BufferT buf, size_t buf_size, size_t pos, size_t bytes_read)
PipelineErrorCb get_error_cb ()

Static Public Attributes

static BufferT NO_BUFFER = std::shared_ptr<Byte>()

Detailed Description

Server session. Reads data from socket. Must be created in the heap.

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