23 #ifndef TUFAO_ABSTRACTMESSAGEDISPATCHER_H
24 #define TUFAO_ABSTRACTMESSAGEDISPATCHER_H
26 #include <QtCore/QObject>
27 #include "tufao_global.h"
53 Q_PROPERTY(
bool connected READ isConnected FINAL)
65 bool isConnected()
const;
103 void newMessage(QByteArray msg);
109 virtual void close() = 0;
119 virtual bool sendMessage(
const QByteArray &msg) = 0;
123 void onDisconnected();
131 #endif // TUFAO_ABSTRACTMESSAGEDISPATCHER_H
The Tufao::AbstractMessageSocket class represents a socket that sends and receives messages...
Definition: abstractmessagesocket.h:50
This is the namespace where all Tufão facilities are grouped.
Definition: abstracthttpserverrequesthandler.h:30