listener interface

This commit is contained in:
zixuanzh
2018-10-26 22:16:24 +02:00
parent b89710a40b
commit 4f5f953523
3 changed files with 35 additions and 2 deletions

View File

@ -26,5 +26,5 @@ class INetwork(ABC):
def listen(self, *args):
"""
:param *args: one or many multiaddrs to start listening on
:return: true if at least one success
:return: True if at least one success
"""