Notifications for sessions owned by a manager.
More...
#include <session_manager.h>
Notifications for sessions owned by a manager.
Invoked on the corresponding transport's notification thread. Implementations must return promptly. OnSessionRemoved is called while the manager serializes its session state and must not re-enter the same manager.
◆ ~Callbacks()
| virtual quicr::SessionManager::Callbacks::~Callbacks |
( |
| ) |
|
|
virtualdefault |
Destroy the callback interface.
◆ OnNewServerSession()
| virtual void quicr::SessionManager::Callbacks::OnNewServerSession |
( |
const std::shared_ptr< Session > & |
new_session | ) |
|
|
virtual |
Notify that a server accepted and created a session.
- Parameters
-
| new_session | Session retained by the manager for the lifetime of its connection. |
◆ OnSessionRemoved()
| virtual void quicr::SessionManager::Callbacks::OnSessionRemoved |
( |
const std::shared_ptr< Session > & |
session | ) |
|
|
virtual |
Notify immediately before a closed session is removed from the manager.
- Parameters
-
| session | Session being removed; the callback may retain it if needed. |
The documentation for this struct was generated from the following file: