Public Member Functions | Public Attributes
ClientHandler Class Reference

List of all members.

Public Member Functions

 ClientHandler (boost::asio::io_service &io_service)
void readerThread ()
void start ()
void stop ()
void waitUntilDone ()
void writerThread ()
 ~ClientHandler ()

Public Attributes

megatree::BlockingQueue< Messageincoming_queue
bool keep_running
megatree::BlockingQueue< Messageoutgoing_queue
boost::thread reader_thread
tcp::socket socket
boost::thread writer_thread

Detailed Description

Definition at line 21 of file streaming_server.cpp.


Constructor & Destructor Documentation

ClientHandler::ClientHandler ( boost::asio::io_service &  io_service) [inline]

Definition at line 24 of file streaming_server.cpp.

Definition at line 28 of file streaming_server.cpp.


Member Function Documentation

void ClientHandler::readerThread ( ) [inline]

Definition at line 67 of file streaming_server.cpp.

void ClientHandler::start ( ) [inline]

Definition at line 35 of file streaming_server.cpp.

void ClientHandler::stop ( ) [inline]

Definition at line 42 of file streaming_server.cpp.

void ClientHandler::waitUntilDone ( ) [inline]

Definition at line 49 of file streaming_server.cpp.

void ClientHandler::writerThread ( ) [inline]

Definition at line 102 of file streaming_server.cpp.


Member Data Documentation

Definition at line 130 of file streaming_server.cpp.

Definition at line 127 of file streaming_server.cpp.

Definition at line 130 of file streaming_server.cpp.

Definition at line 128 of file streaming_server.cpp.

tcp::socket ClientHandler::socket

Definition at line 126 of file streaming_server.cpp.

Definition at line 128 of file streaming_server.cpp.


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


megatree_storage
Author(s): Wim Meeussen
autogenerated on Mon Dec 2 2013 13:01:19