00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef _DEBUGHANDLER_H_
00012 #define _DEBUGHANDLER_H_
00013 #include "RNPlatform/Inc/DLLExportAPI.h"
00014
00015 namespace RNReplicaNet
00016 {
00017
00047 class XPURLDLL_API DebugHandler
00048 {
00049 public:
00050 DebugHandler();
00051
00052 virtual ~DebugHandler();
00053
00057 virtual void DebugPrint(const char *);
00058
00064 virtual bool OutputToSocket(const char *text);
00065
00071 virtual bool EnableVisualDebuggerSocket(const int port = 8000);
00072
00077 virtual void DisableVisualDebuggerSocket(void);
00078
00083 virtual void Printf(const char *format, ...);
00084
00088 virtual void Poll(void);
00089
00094 virtual bool GotConnection(void) const;
00095
00100 virtual void CallbackConnectionError(const int error);
00101 };
00102
00103 }
00104
00105
00106 #endif