class
LavinMQ::MQTT::SubscriptionTree(T)
- LavinMQ::MQTT::SubscriptionTree(T)
- Reference
- Object
Defined in:
lavinmq/mqtt/subscription_tree.crConstructors
Instance Method Summary
-
#any?(filter : String) : Bool
Returns wether any subscription matches the given filter
- #each_entry(topic : String, &block : T, UInt8 -> _)
- #each_entry(&block : T, UInt8 -> _)
- #empty?
-
#inspect
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
- #subscribe(filter : String, session : T, qos : UInt8)
- #unsubscribe(filter : String, session : T)
Constructor Detail
Instance Method Detail
def inspect
#
Description copied from class Object
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
This method should usually not be overridden. It delegates to
#inspect(IO)
which can be overridden for custom implementations.
Also see #to_s
.