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

@ -22,5 +22,6 @@ class IConnection(ABC):
def set_peer_info(self, peer_info):
"""
:param peer_info: a peer info object that contains info of peer
:return: true if successful
:return: True if successful
"""
pass