|
Samchon Framework for CPP
1.0.0
|
A chat message. More...
#include <ChatMessage.hpp>

Public Member Functions | |
| ChatMessage () | |
| Default Constructor. More... | |
| auto | getListener () const -> std::string |
| Get listener. More... | |
Public Member Functions inherited from samchon::protocol::Entity< Key > | |
| virtual auto | key () const -> Key |
| Get a key that can identify the Entity uniquely. More... | |
Private Attributes | |
| std::string | orator |
| An orator, who told. More... | |
| std::string | listener |
| A listener, target of whispering. More... | |
| std::string | message |
| A message, what to say. More... | |
A chat message.
An entity class representing a chat message.
Definition at line 24 of file ChatMessage.hpp.
| samchon::example::chat_service::ChatMessage::ChatMessage | ( | ) |
Default Constructor.
| auto samchon::example::chat_service::ChatMessage::getListener | ( | ) | const -> std::string |
Get listener.
Used to determine which (physical) client will get the message.
|
private |
An orator, who told.
Definition at line 33 of file ChatMessage.hpp.
|
private |
A listener, target of whispering.
If there's not a listener to whisper, the value is "ALL".
Definition at line 45 of file ChatMessage.hpp.
|
private |
A message, what to say.
Definition at line 50 of file ChatMessage.hpp.