|
| stream_service (boost::asio::io_service &io_service) |
| Construct a new stream service for the specified io_service. More...
|
|
impl_type | null () const |
| Return a null stream implementation. More...
|
|
template<typename Stream , typename Context_Service > |
void | create (impl_type &impl, Stream &next_layer, basic_context< Context_Service > &context) |
| Create a new stream implementation. More...
|
|
template<typename Stream > |
void | destroy (impl_type &impl, Stream &next_layer) |
| Destroy a stream implementation. More...
|
|
template<typename Stream > |
boost::system::error_code | handshake (impl_type &impl, Stream &next_layer, stream_base::handshake_type type, boost::system::error_code &ec) |
| Perform SSL handshaking. More...
|
|
template<typename Stream , typename HandshakeHandler > |
void | async_handshake (impl_type &impl, Stream &next_layer, stream_base::handshake_type type, HandshakeHandler handler) |
| Start an asynchronous SSL handshake. More...
|
|
template<typename Stream > |
boost::system::error_code | shutdown (impl_type &impl, Stream &next_layer, boost::system::error_code &ec) |
| Shut down SSL on the stream. More...
|
|
template<typename Stream , typename ShutdownHandler > |
void | async_shutdown (impl_type &impl, Stream &next_layer, ShutdownHandler handler) |
| Asynchronously shut down SSL on the stream. More...
|
|
template<typename Stream , typename ConstBufferSequence > |
std::size_t | write_some (impl_type &impl, Stream &next_layer, const ConstBufferSequence &buffers, boost::system::error_code &ec) |
| Write some data to the stream. More...
|
|
template<typename Stream , typename ConstBufferSequence , typename WriteHandler > |
void | async_write_some (impl_type &impl, Stream &next_layer, const ConstBufferSequence &buffers, WriteHandler handler) |
| Start an asynchronous write. More...
|
|
template<typename Stream , typename MutableBufferSequence > |
std::size_t | read_some (impl_type &impl, Stream &next_layer, const MutableBufferSequence &buffers, boost::system::error_code &ec) |
| Read some data from the stream. More...
|
|
template<typename Stream , typename MutableBufferSequence , typename ReadHandler > |
void | async_read_some (impl_type &impl, Stream &next_layer, const MutableBufferSequence &buffers, ReadHandler handler) |
| Start an asynchronous read. More...
|
|
template<typename Stream , typename MutableBufferSequence > |
std::size_t | peek (impl_type &impl, Stream &next_layer, const MutableBufferSequence &buffers, boost::system::error_code &ec) |
| Peek at the incoming data on the stream. More...
|
|
template<typename Stream > |
std::size_t | in_avail (impl_type &impl, Stream &next_layer, boost::system::error_code &ec) |
| Determine the amount of data that may be read without blocking. More...
|
|
boost::asio::io_service & | get_io_service () |
| Get the io_service object that owns the service. More...
|
|
Default service implementation for an SSL stream.