-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When a device is being deleted, it is also disconnected. Disconnection due to deletion is required via RPC from DataUpdaterPlant. After the device has been disconnected, the broker sends a message on the internal `"/f"` (for "farewell") topic to signal that the emission of messages from the device has ended. Then, the deletion ack for the device is written to database. A device under deletion cannot be allowed to reconnect until deletion is completed. This is made sure by checking the database in the `auth_on_register` plugin hook. Signed-off-by: Arnaldo Cesco <[email protected]>
- Loading branch information
Showing
4 changed files
with
100 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters