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. | |
virtual void | HandleMessage (MsgEntry *msg) |
psAdminCommands (ClientMsgHandler *mh, CmdHandler *ch, iObjectRegistry *obj) | |
virtual | ~psAdminCommands () |
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 psAdminCommands::~psAdminCommands | ( | ) | [virtual] |
virtual const char* psAdminCommands::HandleCommand | ( | const char * | cmd | ) | [virtual] |
Interprets a received message and executes the command.
char * returned can be an error message to display.
Implements psCmdBase.