mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-15 16:36:52 +01:00
Refactor Exception handle scheme
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -45,7 +45,7 @@ char* currentDateTime(void);
|
||||
PacketHandleTask::PacketHandleTask(Gateway* gateway)
|
||||
{
|
||||
_gateway = gateway;
|
||||
Runnable::threadNo =_gateway->attach((Thread*) this);
|
||||
_gateway->attach((Thread*) this);
|
||||
_mqttConnection = new MQTTGWConnectionHandler(_gateway);
|
||||
_mqttPublish = new MQTTGWPublishHandler(_gateway);
|
||||
_mqttSubscribe = new MQTTGWSubscribeHandler(_gateway);
|
||||
|
||||
Reference in New Issue
Block a user