TDME2 1.9.121
|
Network client request handler base class. More...
#include <tdme/network/udpserver/ServerClientRequestHandler.h>
Public Member Functions | |
ServerClientRequestHandler (const std::string &command) | |
Public constructor. More... | |
virtual | ~ServerClientRequestHandler () |
Public destructor. More... | |
const string & | getCommand () |
Returns this requests handler command name. More... | |
virtual void | handleRequest (CLIENT *client, REQUEST &request, const uint32_t messageId, const uint8_t retries)=0 |
Request handler implementation. More... | |
Private Attributes | |
string | command |
Network client request handler base class.
Definition at line 22 of file ServerClientRequestHandler.h.
|
inline |
Public constructor.
Definition at line 27 of file ServerClientRequestHandler.h.
|
inlinevirtual |
Public destructor.
Definition at line 34 of file ServerClientRequestHandler.h.
|
inline |
Returns this requests handler command name.
Definition at line 40 of file ServerClientRequestHandler.h.
|
pure virtual |
Request handler implementation.
client | client |
request | request data |
messageId | message id (udp server only) |
retries | retries (udp server only) |
|
private |
Definition at line 53 of file ServerClientRequestHandler.h.