2 #include <samchon/library/CriticalDictionary.hpp> 3 #include <samchon/protocol/IEntityGroup.hpp> 7 namespace library {
class XML; };
8 namespace protocol {
class Invoke; };
12 namespace chat_service
36 typedef CriticalDictionary<std::shared_ptr<ChatRoom>>
super;
38 virtual auto TAG()
const -> std::string {
return "roomArray"; };
39 virtual auto CHILD_TAG() const ->
std::
string {
return "room"; };
73 auto toXML()
const -> std::shared_ptr<library::XML>;
78 auto toInvoke()
const -> std::shared_ptr<protocol::Invoke>;
ChatServer * server
A chat server that rooms are belonged to.
An iternface for entity group.
CriticalMap< std::string, T, _Pr > CriticalDictionary
A Dictionary ensures concurrency.
Top level namespace of products built from samchon.