#include <ConsoleServer.h>
Public Member Functions | |
void | SetTransportProvider (TransportInterface *transportInterface, unsigned short port) |
void | AddCommandParser (CommandParserInterface *commandParserInterface) |
void | RemoveCommandParser (CommandParserInterface *commandParserInterface) |
void | Update (void) |
Protected Member Functions | |
void | ListParsers (PlayerID playerId) |
Protected Attributes | |
TransportInterface * | transport |
DataStructures::List< CommandParserInterface * > | commandParserList |
char * | password [256] |
|
Add an implementation of CommandParserInterface to the list of command parsers.
|
|
Remove an implementation of CommandParserInterface previously added with AddCommandParser()
|
|
Call this with a derivation of TransportInterface so that the console server can send and receive commands
|
|
Call update to read packet sent from your TransportInterface. You should do this fairly frequently. |