|
|
int | bind (net::af_e address_family, std::uint16_t port) |
| |
| void | call (std::uint16_t type, session_t *session, const std::string_view &payload, bool reinjected) |
| | Call the handler for a given control stream message.
|
| |
|
void | flush () |
| |
|
session_t * | get_session (const net::peer_t peer, uint32_t connect_data) |
| |
|
void | iterate (std::chrono::milliseconds timeout) |
| |
|
void | map (uint16_t type, std::function< void(session_t *, const std::string_view &)> cb) |
| |
|
int | send (const std::string_view &payload, net::peer_t peer) |
| |
◆ call()
| void stream::control_server_t::call |
( |
std::uint16_t | type, |
|
|
session_t * | session, |
|
|
const std::string_view & | payload, |
|
|
bool | reinjected ) |
Call the handler for a given control stream message.
- Parameters
-
| type | The message type. |
| session | The session the message was received on. |
| payload | The payload of the message. |
| reinjected | true if this message is being reprocessed after decryption. |
The documentation for this class was generated from the following file: