Planeshift
|
This implements a subscriber object which handles admin-oriented commands. More...
#include <cmdadmin.h>
Public Member Functions | |
virtual const char * | HandleCommand (const char *cmd) |
Interprets a received message and executes the command. More... | |
virtual void | HandleMessage (MsgEntry *msg) |
psAdminCommands (ClientMsgHandler *mh, CmdHandler *ch, iObjectRegistry *obj) | |
virtual | ~psAdminCommands () |
![]() | |
virtual void | HandleMessage (MsgEntry *msg, Client *) |
Interprets a received message and executes the command. More... | |
psCmdBase (ClientMsgHandler *mh, CmdHandler *ch, iObjectRegistry *obj) | |
void | Report (int severity, const char *msgtype, const char *description,...) |
virtual bool | Setup (ClientMsgHandler *mh, CmdHandler *ch) |
virtual bool | Verify (MsgEntry *, unsigned int, Client *&) |
virtual | ~psCmdBase () |
Additional Inherited Members | |
![]() | |
CmdHandler * | cmdsource |
ClientMsgHandler * | msgqueue |
iObjectRegistry * | objreg |
This implements a subscriber object which handles admin-oriented commands.
Definition at line 42 of file cmdadmin.h.
psAdminCommands::psAdminCommands | ( | ClientMsgHandler * | mh, |
CmdHandler * | ch, | ||
iObjectRegistry * | obj | ||
) |
|
virtual |
|
virtual |
Interprets a received message and executes the command.
char * returned can be an error message to display.
Implements psCmdBase.