7 class TAbstractWebSocket;
14 void subscribe(
const QString &topic,
bool local, TAbstractWebSocket *socket);
15 void unsubscribe(
const QString &topic, TAbstractWebSocket *socket);
16 void unsubscribeFromAll(TAbstractWebSocket *socket);
17 void publish(
const QString &topic,
const QString &text, TAbstractWebSocket *socket);
18 void publish(
const QString &topic,
const QByteArray &binary, TAbstractWebSocket *socket);
22 Pub *create(
const QString &topic);
23 Pub *get(
const QString &topic);
24 void release(
const QString &topic);
25 static QObject *castToObject(TAbstractWebSocket *socket);
28 void receiveSystemBus();
32 QMap<QString, Pub *> pubobj;
The TPublisher class provides a means of publish subscribe messaging for websocket.
Definition: tpublisher.h:11
#define T_CORE_EXPORT
Definition: tdeclexport.h:28
#define T_DISABLE_COPY(Class)
Definition: tdeclexport.h:37
#define T_DISABLE_MOVE(Class)
Definition: tdeclexport.h:41