Controller¶
-
class
hivemind.RootController(**kwargs)[source]¶ Basic impl of subscription service handler
-
classmethod
exec_(logging=None)[source]¶ Generic call used by most entry scripts to start the root without having to create a custom local instance
-
classmethod
register_node(node)[source]¶ Add the node to our root (if not already there). If it is, we simply ignore the request.
-
classmethod
register_service(service) → dict[source]¶ Register a service. This is called from a _Node
- Parameters
service – The _Service instance that contains the required info.
- Returns
dict
-
classmethod
register_subscription(subscription) → dict[source]¶ Register a subscription. This is called from a _Node
- Parameters
subscription – The _Subscription instance that contains the required info.
- Returns
dict
-
classmethod