23 #ifndef __IRCCLIENT_H__ 24 #define __IRCCLIENT_H__ 26 #include "socketsignalsadapter.h" 36 static const int MAX_MESSAGE_LENGTH = 510;
37 static const int SAFE_MESSAGE_LENGTH = 400;
42 void connect(
const QString &address,
unsigned short port);
46 bool isConnected()
const;
48 bool sendMessage(
const QString &message);
49 void setFakeRecvLag(
int lagMs);
59 void ircServerResponse(
const QString &message);
68 void receiveSocketData();
69 void receiveSocketDataDelayed();
void infoMessage(const QString &message)
These are the messages that IRCClient class sends to inform the upper layers of progress.