|
Hermes 0.7.0
Linux game streaming host
|
Public Member Functions | |
| socket_t (boost::asio::io_context &io_context, std::function< void(tcp::socket &sock, launch_session_t &, msg_t &&)> &&handle_data_fn) | |
| void | read () |
| Queue an asynchronous read to begin the next message. | |
| void | read_plaintext_payload () |
| Queue an asynchronous read of the payload portion of a plaintext message. | |
| void | handle_data (msg_t &&req) |
Static Public Member Functions | |
| static void | handle_read_encrypted_header (std::shared_ptr< socket_t > &socket, const boost::system::error_code &ec, std::size_t bytes) |
| Handle the initial read of the header of an encrypted message. | |
| static void | handle_read_encrypted_message (std::shared_ptr< socket_t > &socket, const boost::system::error_code &ec, std::size_t bytes) |
| Handle the final read of the content of an encrypted message. | |
| static void | handle_plaintext_payload (std::shared_ptr< socket_t > &socket, const boost::system::error_code &ec, std::size_t bytes) |
| Handle the read of the payload portion of a plaintext message. | |
| static void | handle_read_plaintext (std::shared_ptr< socket_t > &socket, const boost::system::error_code &ec, std::size_t bytes) |
| Handle the read of the header portion of a plaintext message. | |
Public Attributes | |
| std::function< void(tcp::socket &sock, launch_session_t &, msg_t &&)> | handle_data_fn |
| tcp::socket | sock |
| std::array< char, 2048 > | msg_buf |
| char * | crlf |
| char * | begin = msg_buf.data() |
| std::shared_ptr< launch_session_t > | session |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
| std::function<void(tcp::socket &sock, launch_session_t &, msg_t &&)> rtsp_stream::socket_t::handle_data_fn |
| std::shared_ptr<launch_session_t> rtsp_stream::socket_t::session |