20 #ifndef __KMESSAGESERVER_H__
21 #define __KMESSAGESERVER_H__
24 #include <tqserversocket.h>
26 #include <tqvaluelist.h>
29 class KMessageServerPrivate;
193 REQ_MAX_REQ = 0xffff };
204 EVNT_CLIENT_CONNECTED,
205 EVNT_CLIENT_DISCONNECTED,
206 EVNT_MAX_EVNT = 0xffff
219 virtual void Debug();
296 void removeBrokenClient ();
329 TQValueList <TQ_UINT32>
clientIDs()
const;
389 virtual void sendMessage (TQ_UINT32
id,
const TQByteArray &msg);
398 virtual void sendMessage (
const TQValueList <TQ_UINT32> &ids,
const TQByteArray &msg);
452 void messageReceived (
const TQByteArray &data, TQ_UINT32 clientID,
bool &unknown);
463 KMessageServerPrivate* d;
486 void newConnection (
int socket);