Net::MQTT::TopicStore − Perl module to represent MQTT topic store
version 1.163170
use
Net::MQTT::TopicStore;
my $topic_store = Net::MQTT::TopicStore−>new();
$topic_store−>add($topic_pattern1);
$topic_store−>add($topic_pattern2);
my @topics = @{ $topic−>get($topic) };
$topic_store−>remove($topic_pattern2);
This module encapsulates a single MQTT topic store.
Constructs a Net::MQTT::TopicStore object.
Adds the topic pattern to the store.
Remove the topic pattern from the store.
Returns all the topic patterns in the store that apply to the given topic.
Mark Hindess <soft−[email protected]>
This software is copyright (c) 2014 by Mark Hindess.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.