![]() |
![]()
| ![]() |
![]()
NAMENet::MQTT::TopicStore - Perl module to represent MQTT topic store VERSIONversion 1.143260 SYNOPSISuse 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); DESCRIPTIONThis module encapsulates a single MQTT topic store. METHODSnew( )Constructs a Net::MQTT::TopicStore object. add( $topic_pattern )Adds the topic pattern to the store. delete( $topic_pattern )Remove the topic pattern from the store. values( $topic )Returns all the topic patterns in the store that apply to the given topic. AUTHORMark Hindess <soft-cpan@temporalanomaly.com> COPYRIGHT AND LICENSEThis 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.
|