mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-11 15:40:54 +00:00
added listen to interface
This commit is contained in:
@ -21,3 +21,10 @@ class INetwork(ABC):
|
|||||||
:return: stream instance
|
:return: stream instance
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
def listen(self, *args):
|
||||||
|
"""
|
||||||
|
:param *args: one or many multiaddrs to start listening on
|
||||||
|
:return: true if at least one success
|
||||||
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user