HubListener#

class glue.core.hub.HubListener[source]#

Bases: object

The base class for any object that subscribes to hub messages. This interface defines a single method, notify, that receives messages

Methods Summary

notify(message)

register_to_hub(hub)

unregister(hub)

Default unregistration action.

Methods Documentation

notify(message)[source]#
register_to_hub(hub)[source]#
unregister(hub)[source]#

Default unregistration action. Calls hub.unsubscribe_all on self