client.py: remove unused code

This commit is contained in:
Brian Warner 2007-06-28 17:55:13 -07:00
parent a8bf0645dc
commit 4196c9ff66

View File

@ -105,13 +105,6 @@ class Client(node.Node, Referenceable):
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:
@ -130,9 +123,6 @@ class Client(node.Node, Referenceable):
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()