mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-16 08:56:51 +01:00
Update Aggregatting gateway can now receive PUBLISH from a broker
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -40,21 +40,17 @@ class AdapterManager
|
||||
public:
|
||||
AdapterManager(Gateway* gw);
|
||||
~AdapterManager(void);
|
||||
void initialize(void);
|
||||
void initialize(char* gwName, bool aggregater, bool fowarder, bool qosM1);
|
||||
ForwarderList* getForwarderList(void);
|
||||
QoSm1Proxy* getQoSm1Proxy(void);
|
||||
Aggregater* getAggregater(void);
|
||||
void checkConnection(void);
|
||||
|
||||
bool isAggregatedClient(Client* client);
|
||||
Client* getClient(Client& client);
|
||||
Client* getClient(Client* client);
|
||||
Client* convertClient(uint16_t msgId, uint16_t* clientMsgId);
|
||||
int unicastToClient(Client* client, MQTTSNPacket* packet, ClientSendTask* task);
|
||||
bool isAggregaterActive(void);
|
||||
AggregateTopicElement* createClientList(Topic* topic);
|
||||
int addAggregateTopic(Topic* topic, Client* client);
|
||||
void removeAggregateTopic(Topic* topic, Client* client);
|
||||
void removeAggregateTopicList(Topics* topics, Client* client);
|
||||
|
||||
private:
|
||||
Gateway* _gateway {nullptr};
|
||||
|
||||
Reference in New Issue
Block a user