Planeshift
psAdminCommands Class Reference

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 ()
 
- Public Member Functions inherited from psCmdBase
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

- Protected Attributes inherited from psCmdBase
CmdHandlercmdsource
 
ClientMsgHandlermsgqueue
 
iObjectRegistry * objreg
 

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: