#include <ChatSocket.h>
Public Member Functions | |
| ChatSocket (SocketHandler &) | |
| ~ChatSocket () | |
| void | OnAccept () |
| void | OnLine (const std::string &) |
| const std::string & | GetName () |
Private Member Functions | |
| void | SendPrompt () |
Private Attributes | |
| int | m_state |
| std::string | m_name |
|
|
Definition at line 28 of file ChatSocket.cpp. References ChatSocket(), and STATE_LOGIN. Referenced by ChatSocket().
|
|
|
Definition at line 37 of file ChatSocket.cpp.
|
|
|
Definition at line 42 of file ChatSocket.h. References m_name.
|
|
|
Definition at line 42 of file ChatSocket.cpp. References SendPrompt().
|
|
|
Definition at line 49 of file ChatSocket.cpp. References m_name, m_state, OnLine(), SendPrompt(), STATE_LOGIN, STATE_PROMPT, and STATE_QUIT. Referenced by OnLine().
|
|
|
Definition at line 86 of file ChatSocket.cpp. References m_state, STATE_LOGIN, STATE_PROMPT, and STATE_QUIT. Referenced by OnAccept(), and OnLine().
|
|
|
Definition at line 47 of file ChatSocket.h. |
|
|
Definition at line 46 of file ChatSocket.h. Referenced by OnLine(), and SendPrompt(). |
1.3.6
|
|