11 #ifndef ASIO_SSL_DETAIL_READ_OP_HPP 12 #define ASIO_SSL_DETAIL_READ_OP_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 20 #if !defined(ASIO_ENABLE_OLD_SSL) 23 #endif // !defined(ASIO_ENABLE_OLD_SSL) 31 #if !defined(ASIO_ENABLE_OLD_SSL) 33 template <
typename MutableBufferSequence>
44 std::size_t& bytes_transferred)
const 48 MutableBufferSequence>::first(buffers_);
50 return eng.
read(buffer, ec, bytes_transferred);
53 template <
typename Handler>
56 const std::size_t& bytes_transferred)
const 58 handler(ec, bytes_transferred);
62 MutableBufferSequence buffers_;
65 #endif // !defined(ASIO_ENABLE_OLD_SSL) 73 #endif // ASIO_SSL_DETAIL_READ_OP_HPP ASIO_DECL want read(const asio::mutable_buffer &data, asio::error_code &ec, std::size_t &bytes_transferred)
mutable_buffers_1 buffer(const mutable_buffer &b)
Create a new modifiable buffer from an existing buffer.
read_op(const MutableBufferSequence &buffers)
const MutableBufferSequence & buffers
void call_handler(Handler &handler, const asio::error_code &ec, const std::size_t &bytes_transferred) const
Holds a buffer that can be modified.
Class to represent an error code value.
engine::want operator()(engine &eng, asio::error_code &ec, std::size_t &bytes_transferred) const