mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-18 09:56:50 +01:00
QoS-1 PUBLISH is available #34
BugFix of #69 Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user