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;