3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

PyLinkNetworkCore: add stubs for disconnect() and connect()

This commit is contained in:
James Lu 2017-08-06 21:49:52 -07:00
parent d3f635901b
commit a070ec5c32

View File

@ -223,6 +223,12 @@ class PyLinkNetworkCore(utils.DeprecatedAttributesObject, utils.CamelCaseToSnake
def validate_server_conf(self):
return
def connect(self):
raise NotImplementedError
def disconnect(self):
raise NotImplementedError
## General utility functions
def call_hooks(self, hook_args):
"""Calls a hook function with the given hook args."""