Room interface.
More...
#include <iroom.h>
|
| virtual void | join (subscriber_ptr subcriber)=0 |
| | Join a user to channel. More...
|
| |
| virtual void | leave (subscriber_ptr subscriber)=0 |
| | Leave a user from channel. More...
|
| |
| virtual void | notification (text_response_ptr subscriber)=0 |
| | Notify all room's subscribers about new message. More...
|
| |
| virtual identifier_t | get_room_id () const =0 |
| | Get the room id object. More...
|
| |
|
virtual | ~IRoom ()=default |
| | Default virtual destructor.
|
| |
| virtual identifier_t IRoom::get_room_id |
( |
| ) |
const |
|
pure virtual |
Get the room id object.
- Returns
- identifier_t
Implemented in Channel.
| virtual void IRoom::join |
( |
subscriber_ptr |
subcriber | ) |
|
|
pure virtual |
Join a user to channel.
- Parameters
-
| subcriber | sbscriber who is joining this room |
Implemented in Channel.
| virtual void IRoom::leave |
( |
subscriber_ptr |
subscriber | ) |
|
|
pure virtual |
Leave a user from channel.
- Parameters
-
| subscriber | sbscriber who is leaving this room |
Implemented in Channel.
| virtual void IRoom::notification |
( |
text_response_ptr |
subscriber | ) |
|
|
pure virtual |
Notify all room's subscribers about new message.
- Parameters
-
Implemented in Channel.
The documentation for this class was generated from the following file: