mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 16:36:20 +00:00
client: add get_servers()
This commit is contained in:
parent
278c47b9bd
commit
1d84606d52
@ -251,6 +251,11 @@ class Client(node.Node, pollmixin.PollMixin):
|
||||
def _lost_key_generator(self):
|
||||
self._key_generator = None
|
||||
|
||||
def get_servers(self, service_name):
|
||||
""" Return set of (peerid, versioned-rref) """
|
||||
assert isinstance(service_name, str)
|
||||
return self.introducer_client.get_peers(service_name)
|
||||
|
||||
def init_web(self, webport):
|
||||
self.log("init_web(webport=%s)", args=(webport,))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user