daemon: added not implemented methods to CoreNodeBase

This commit is contained in:
Blake Harnden 2020-06-14 12:44:51 -07:00
parent 38257de740
commit f5916fab5b

View file

@ -41,7 +41,6 @@ class NodeBase:
apitype: Optional[NodeTypes] = None
# TODO: appears start has no usage, verify and remove
def __init__(
self,
session: "Session",
@ -268,6 +267,12 @@ class CoreNodeBase(NodeBase):
self.nodedir: Optional[str] = None
self.tmpnodedir: bool = False
def startup(self) -> None:
raise NotImplementedError
def shutdown(self) -> None:
raise NotImplementedError
def add_config_service(self, service_class: "ConfigServiceType") -> None:
"""
Adds a configuration service to the node.