updated based on comments
This commit is contained in:
parent
d47c423c73
commit
2df8a2c9c2
|
@ -1,7 +1,7 @@
|
|||
from abc import ABC, abstractmethod
|
||||
# pylint: disable=too-few-public-methods
|
||||
|
||||
class IDiscoverer(ABC):
|
||||
class IAdvertiser(ABC):
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
|
|
@ -12,6 +12,6 @@ class IDiscoverer(ABC):
|
|||
"""
|
||||
Find peers on the networking providing a particular service
|
||||
:param service: service that peers must provide
|
||||
:return: peerstore containing found peers on the network
|
||||
:return: PeerInfo generator that yields PeerInfo objects for discovered peers
|
||||
:raise Exception: network error
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user