|
libmoost
|
#include <async_stream_forwarder.hpp>

Public Types | |
| typedef helper::native_io_t | native_io_t |
| typedef helper::async_stream_t | async_stream_t |
Public Member Functions | |
| async_stream_forwarder (boost::shared_ptr< boost::asio::io_service > ios) | |
| async_stream_forwarder (boost::shared_ptr< boost::asio::io_service > ios, native_io_t input, bool dup_input=true) | |
| ~async_stream_forwarder () | |
| void | assign (native_io_t input, bool dup_input=true) |
| template<typename HandlerT > | |
| void | read_async (void *data, size_t size, HandlerT handler) |
| void | close () |
Private Member Functions | |
| void | input_thread () const |
Private Attributes | |
| boost::shared_ptr < boost::asio::io_service > | m_ios |
| boost::shared_ptr< boost::thread > | m_input_thread |
| detail::forwarding_loop | m_loop |
| native_io_t | m_in |
| native_io_t | m_pipe_write |
| async_stream_t | m_input |
Definition at line 62 of file async_stream_forwarder.hpp.
Definition at line 66 of file async_stream_forwarder.hpp.
Definition at line 65 of file async_stream_forwarder.hpp.
| moost::io::async_stream_forwarder::async_stream_forwarder | ( | boost::shared_ptr< boost::asio::io_service > | ios | ) | [inline] |
Definition at line 68 of file async_stream_forwarder.hpp.
| moost::io::async_stream_forwarder::async_stream_forwarder | ( | boost::shared_ptr< boost::asio::io_service > | ios, |
| native_io_t | input, | ||
| bool | dup_input = true |
||
| ) | [inline] |
| void moost::io::async_stream_forwarder::assign | ( | native_io_t | input, |
| bool | dup_input = true |
||
| ) | [inline] |
Definition at line 94 of file async_stream_forwarder.hpp.


| void moost::io::async_stream_forwarder::close | ( | ) | [inline] |
Definition at line 146 of file async_stream_forwarder.hpp.


| void moost::io::async_stream_forwarder::input_thread | ( | ) | const [inline, private] |
Definition at line 160 of file async_stream_forwarder.hpp.


| void moost::io::async_stream_forwarder::read_async | ( | void * | data, |
| size_t | size, | ||
| HandlerT | handler | ||
| ) | [inline] |
Definition at line 141 of file async_stream_forwarder.hpp.
Definition at line 174 of file async_stream_forwarder.hpp.
Definition at line 176 of file async_stream_forwarder.hpp.
boost::shared_ptr<boost::thread> moost::io::async_stream_forwarder::m_input_thread [private] |
Definition at line 170 of file async_stream_forwarder.hpp.
boost::shared_ptr<boost::asio::io_service> moost::io::async_stream_forwarder::m_ios [private] |
Definition at line 169 of file async_stream_forwarder.hpp.
Definition at line 172 of file async_stream_forwarder.hpp.
Definition at line 175 of file async_stream_forwarder.hpp.