|
| TerminalSession (EPoll &ePoll, TCPServer &server) |
|
int | getLines () |
|
void | clear () |
|
void | clearEOL () |
|
void | setCursorLocation (int x, int y) |
|
void | setColor (int color) |
|
void | setBackColor (int color) |
|
void | saveCursor () |
|
void | restoreCursor () |
|
void | NextLine (int lines) |
|
void | PreviousLine (int lines) |
|
void | scrollArea (int start, int end) |
|
| TLSSession (EPoll &ePoll, TCPServer &server) |
|
virtual void | output (std::stringstream &out) |
|
virtual void | protocol (std::stringstream &out, std::string data) override |
|
| TCPSession (EPoll &ePoll, TCPServer &server) |
|
| TCPSession (EPoll &ePoll, TCPServer &server, std::string text) |
|
void | send (std::string data) |
|
void | sendToAll (std::string data) |
|
void | sendToAll (SessionFilter filter, std::string data) |
|
| TCPSocket (EPoll &ePoll) |
|
| TCPSocket (EPoll &ePoll, std::string text) |
|
void | connect (IPAddress &address) |
|
| Socket (EPoll &ePoll) |
|
| Socket (EPoll &ePoll, std::string text) |
|
void | shutdown (std::string text="unknown") |
|
void | setDescriptor (int descriptor) |
| Set the descriptor for the socket. More...
|
|
int | getDescriptor () |
| Get the descriptor for the socket.
|
|
bool | eventReceived (struct epoll_event event) |
| Parse epoll event and call specified callbacks. More...
|
|
int | write (std::string data) |
|
void | write (char *buffer, int length) |
|
void | output (std::stringstream &out) |
|
virtual void | onUnregister () |
| Called when the socket has finished unregistering for the epoll processing. More...
|
|
bool | needsToWrite () |
|
|
std::stringstream | out |
|
Command * | grab = NULL |
|
TCPServer & | server |
|
IPAddress | ipAddress |
|
class { |
} | bufferSize |
|
bool | active = false |
|
std::string | name |
|
std::string | tag |
|
|
void | receiveData (char *buffer, int bufferLength) override |
|
void | onRegister () |
| Called when the socket has finished registering with the epoll processing. More...
|
|
void | onRegistered () |
|
virtual void | onDataReceived (std::string data) override |
| Called when data is received from the socket. More...
|
|
virtual void | onConnected (std::stringstream &out) |
|
void | setBufferSize (int length) |
|
virtual void | onDataReceived (char *buffer, int len) |
|
EPoll & | ePoll |
|
bool | shutDown = false |
|
The documentation for this class was generated from the following files: