|
|
| UDPSocket (EPoll &ePoll) |
| |
|
| 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 | onRegister () |
| | Called when the socket has finished registering with the epoll processing. More...
|
| |
|
virtual void | onRegistered () |
| |
| virtual void | onUnregister () |
| | Called when the socket has finished unregistering for the epoll processing. More...
|
| |
|
bool | needsToWrite () |
| |
|
|
class { |
| } | bufferSize |
| |
|
bool | active = false |
| |
|
std::string | name |
| |
|
std::string | tag |
| |
|
void | setBufferSize (int length) |
| |
| virtual void | onDataReceived (std::string data) |
| | Called when data is received from the socket. More...
|
| |
|
virtual void | onDataReceived (char *buffer, int len) |
| |
| virtual void | receiveData (char *buffer, int bufferLength) |
| |
|
EPoll & | ePoll |
| |
|
bool | shutDown = false |
| |
The documentation for this class was generated from the following files: