return self.getServiceNamed(name)
raise RuntimeError("I am unwilling to give you service %s" % name)
- def get_remote_service(self, nodeid, servicename):
- if nodeid not in self.introducer_client.connections:
- return defer.fail(IndexError("no connection to that peer"))
- peer = self.introducer_client.connections[nodeid]
- d = peer.callRemote("get_service", name=servicename)
- return d
-
def get_all_peerids(self):
if not self.introducer_client:
results.sort()
return results
- def connected_to_vdrive(self):
- return self._connected_to_vdrive
-
def connected_to_introducer(self):
if self.introducer_client:
return self.introducer_client.connected_to_introducer()