wotpy.protocols.mqtt.handlers.subs

Class that subscribes to all the Interactions of one kind for all the ExposedThings contained by a Protocol Binding server.

Classes

InteractionsSubscriber(interaction_type, …) Class that subscribes to all the Interactions of one kind for all the ExposedThings contained by a Protocol Binding server.
class wotpy.protocols.mqtt.handlers.subs.InteractionsSubscriber(interaction_type, server, on_next_builder)

Bases: object

Class that subscribes to all the Interactions of one kind for all the ExposedThings contained by a Protocol Binding server.

dispose()

Disposes of all the currently active subscriptions.

refresh()

Refresh all subscriptions for the entire set of ExposedThings.