QoS-1 PUBLISH is available #34

BugFix of #69

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2018-07-29 16:11:38 +09:00
parent 9940aadd4b
commit 4932d2d0ee
32 changed files with 1274 additions and 348 deletions

View File

@@ -28,18 +28,18 @@ namespace MQTTSNGW
class Client;
class WirelessNodeId;
class ForwardedClient
class ForwarderElement
{
friend class Forwarder;
public:
ForwardedClient();
~ForwardedClient();
ForwarderElement();
~ForwarderElement();
void setClient(Client* client);
void setWirelessNodeId(WirelessNodeId* id);
private:
Client* _client;
WirelessNodeId* _wirelessNodeId;
ForwardedClient* _next;
ForwarderElement* _next;
};
@@ -62,7 +62,7 @@ public:
private:
string _forwarderName;
SensorNetAddress _sensorNetAddr;
ForwardedClient* _headClient;
ForwarderElement* _headClient;
Forwarder* _next;
Mutex _mutex;
};