2
'''Base Tunnel class. Should be subclassed by other tunnels for
3
compatibility reasons as well as ease of use.
5
def connect(self, address, port):
6
'''Use this tunnel to connect to `address`:`port`'''
9
def disconnect(self, nodeid):
10
'''Disconnect from a node at `nodeid`'''
15
class Connection(object):
16
'''A class to store a connection to a peer'''