Planeshift
Public Member Functions

psAdminCommands Class Reference

This implements a subscriber object which handles admin-oriented commands. More...

#include <cmdadmin.h>

List of all members.

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 ()

Detailed Description

This implements a subscriber object which handles admin-oriented commands.

Definition at line 42 of file cmdadmin.h.


Constructor & Destructor Documentation

psAdminCommands::psAdminCommands ( ClientMsgHandler mh,
CmdHandler ch,
iObjectRegistry *  obj 
)
virtual psAdminCommands::~psAdminCommands ( ) [virtual]

Member Function Documentation

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.

virtual void psAdminCommands::HandleMessage ( MsgEntry msg) [virtual]

Implements psCmdBase.


The documentation for this class was generated from the following file: