Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef CONNECT___SERVER_MONITOR__HPP
2 #define CONNECT___SERVER_MONITOR__HPP
55 virtual void Send(
const char*
msg,
size_t length) = 0;
73 void SetSocket(
CSocket& socket);
74 bool IsMonitorActive();
75 void SendMessage(
const char*
msg,
size_t length);
76 void SendString(
const string&
str);
81 virtual void Send(
const char*
msg,
size_t length);
82 virtual void Send(
const string&
str);
static const char * str(char *buf, int n)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
CServer_Monitor & operator=(const CServer_Monitor &)
virtual void Send(const string &str)=0
Send message.
virtual bool IsActive()=0
Check if monitoring is active.
virtual void Send(const char *msg, size_t length)=0
Send message.
CServer_Monitor(const CServer_Monitor &)
virtual ~IServer_Monitor()
#define NCBI_XCONNECT_EXPORT
Multi-threading – mutexes; rw-locks; semaphore.
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
Base interface for monitoring.