daemon: added not implemented methods to CoreNodeBase
This commit is contained in:
parent
38257de740
commit
f5916fab5b
1 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue