Package i2p :: Module tunnel :: Class TunnelServer
[show private | hide private]
[frames | no frames]

Class TunnelServer

Tunnel --+
         |
        TunnelServer


Method Summary
  __init__(self, session, port, samaddr, nconnect, timeout, **kwargs)
Tunnels incoming SAM streams --> localhost:port.
    Inherited from Tunnel
  close(self)
Close all connections made for this tunnel.

Property Summary
  dest: I2P Destination of server.
  session: Session name for server.

Method Details

__init__(self, session, port, samaddr='127.0.0.1:7656', nconnect=-1, timeout=None, **kwargs)
(Constructor)

Tunnels incoming SAM streams --> localhost:port.

nconnect and timeout are the maximum number of connections and maximum time per connection. All other arguments are passed to socket.socket(). This call blocks until the tunnel is ready.
Overrides:
i2p.tunnel.Tunnel.__init__

Property Details

dest

I2P Destination of server.

session

Session name for server.

Generated by Epydoc 2.1 on Mon Aug 02 01:07:41 2004 http://epydoc.sf.net