Samchon Framework for CPP
1.0.0
|
A manager of chat rooms. More...
#include <ChatRoomArray.hpp>
Public Member Functions | |
ChatRoomArray (ChatServer *) | |
Construct from a chat server. More... | |
void | notify () |
Notify changes of chat rooms. More... | |
Private Member Functions | |
auto | toXML () const -> std::shared_ptr< library::XML > |
Get an XML object representing the ChatRoomArray. More... | |
auto | toInvoke () const -> std::shared_ptr< protocol::Invoke > |
Get an Invoke message used to notifying change. More... | |
Private Attributes | |
ChatServer * | server |
A chat server that rooms are belonged to. More... | |
A manager of chat rooms.
An entity list of chat rooms and a manager of chat rooms taking a responsibility of notifying changes of children chat rooms to a related chat server.
Definition at line 31 of file ChatRoomArray.hpp.
samchon::example::chat_service::ChatRoomArray::ChatRoomArray | ( | ChatServer * | ) |
Construct from a chat server.
void samchon::example::chat_service::ChatRoomArray::notify | ( | ) |
Notify changes of chat rooms.
Notify changes of chat rooms to all clients in the chat server.
|
private |
Get an XML object representing the ChatRoomArray.
|
private |
Get an Invoke message used to notifying change.
|
private |
A chat server that rooms are belonged to.
Definition at line 39 of file ChatRoomArray.hpp.