Main Page | Class List | Directories | File List | Class Members

DebugHandler.h

00001 /* START_LICENSE_HEADER
00002 
00003 Copyright (C) 2000 Martin Piper, original design and program code
00004 Copyright (C) 2001-2005 Replica Software
00005 
00006 This program file is copyright (C) Replica Software and can only be used under license.
00007 For more information visit: http://www.replicanet.com/
00008 Or email: info@replicanet.com
00009 
00010 END_LICENSE_HEADER */
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 } // namespace RNReplicaNet
00104 
00105 
00106 #endif

Generated on Sun Oct 30 01:12:16 2005 for XPURL by  doxygen 1.4.1