ChannelsManager.
More...
#include <channels_manager.h>
|
void | join (subscriber_ptr subscriber, identifier_t room_id, database_ptr db) |
| Join user to room by room_id. More...
|
|
void | send (text_response_ptr) |
| Send message to specific room and specific user.
|
|
void | leave (subscriber_ptr) |
| Leave user from the room.
|
|
ChannelsManager.
It is singleton instance that serves channels
void ChannelsManager::join |
( |
subscriber_ptr |
subscriber, |
|
|
identifier_t |
room_id, |
|
|
database_ptr |
db |
|
) |
| |
Join user to room by room_id.
- Parameters
-
subscriber | room's subscriber |
room_id | room where subscriber joining |
db | |
The documentation for this class was generated from the following files: