1 #ifndef AUTOQTCPSERVER_H
2 #define AUTOQTCPSERVER_H
11 #include <QVariantList>
13 #include <platform_global.h>
34 QHash <QString, AutoQTcpSocket *> PeerClients;
35 QHash <QString, AutoQTcpSocket *> PeerServers;
38 QList<QString> selfAdrList();
48 void StartDaemon(QString interface, QString netmask,
int servicePort,
bool doDaemon =
true,
bool doClient =
true);
53 void PacketReadyDaemon( QString interfaceAddress,
int servicePort, QVariantList va);
56 void PacketReadyClient( QString interfaceAddress,
int servicePort, QVariantList va);
60 void SlotConnectedClient(QString interface,
int port);
63 void SlotDisconnectedClient(QString interface,
int port);
66 void SlotDisconnectedDaemon(QString interface,
int port);
79 void WriteAsDaemon( QString Key, QVariantList &vl );
86 void WriteAsClient( QString Key, QVariantList &vl );
The AutoQTcpServer class This is a level #1 layer class.. It does all the connections to all the node...
Definition: autoqtcpserver.h:29
void SigDaemonPacketReady(QString key, QVariantList msg)
signal Daemon message packet ready for key of key
void SigClientConnected(QString key)
signal client connected with the key of key
void SigClientPacketReady(QString key, QVariantList msg)
signal Client message packet ready for key of key
void SigClientDisconnected(QString key)
signal client disconnected with the key of key
void SigDaemonDisconnected(QString key)
signal daemon disconnected with key of key
void SigDaemonConnected(QString key)
signal daemon connected with key of key
Definition: autoqtcpdistribution.cpp:10