• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ConsoleServer.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 #include "NativeFeatureIncludes.h"
00010 #if _RAKNET_SUPPORT_ConsoleServer==1
00011 
00012 #ifndef __CONSOLE_SERVER_H
00013 #define __CONSOLE_SERVER_H
00014 
00015 class TransportInterface;
00016 class CommandParserInterface;
00017 
00018 #include "RakMemoryOverride.h"
00019 #include "DS_List.h"
00020 #include "RakNetTypes.h"
00021 #include "Export.h"
00022 
00028 class RAK_DLL_EXPORT ConsoleServer
00029 {
00030 public:
00031         ConsoleServer();
00032         ~ConsoleServer();
00033 
00037         void SetTransportProvider(TransportInterface *transportInterface, unsigned short port);
00038 
00041         void AddCommandParser(CommandParserInterface *commandParserInterface);
00042 
00045         void RemoveCommandParser(CommandParserInterface *commandParserInterface);
00046 
00049         void Update(void);
00050 
00055         void SetPrompt(const char *_prompt);
00056 
00057 protected:
00058         void ListParsers(SystemAddress systemAddress);
00059         void ShowPrompt(SystemAddress systemAddress);
00060         TransportInterface *transport;
00061         DataStructures::List<CommandParserInterface *> commandParserList;
00062         char* password[256];
00063         char *prompt;
00064 };
00065 
00066 #endif
00067 
00068 #endif // _RAKNET_SUPPORT_*

Generated on Thu Sep 30 2010 01:27:22 for RakNet by  doxygen 1.7.1