Close an endpoint.
292{
294 if (!backend) {
295 return;
296 }
297
298 backend->close_endpoint(endpoint_id);
299
300 {
303 }
304
305 {
308 }
309}
std::shared_mutex m_routing_mutex
Maps endpoint_id -> transport for routing send/close/query to the correct backend without scanning al...
std::unordered_map< uint64_t, NetworkTransport > m_endpoint_routing
std::unordered_map< uint64_t, NetworkReceiveCallback > m_endpoint_callbacks
std::shared_mutex m_callbacks_mutex
Per-endpoint receive callbacks set by consumers via set_endpoint_receive_callback().
INetworkBackend * resolve_backend(uint64_t endpoint_id) const
Resolve endpoint_id to its owning backend.