Package fcp :: Module fproxyproxy :: Class FProxyProxy
[hide private]
[frames] | no frames]

Class FProxyProxy

source code

    SocketServer.ThreadingMixIn --+
                                  |
SocketServer.BaseServer --+       |
                          |       |
     SocketServer.TCPServer --+   |
                              |   |
      BaseHTTPServer.HTTPServer --+
                                  |
                                 FProxyProxy

an http proxy that runs atop fproxy, and uses the pyFreenet name service

Instance Methods [hide private]
 
__init__(self, **kw)
runs the FProxyProxy service
source code
 
run(self)
Starts the proxy, runs forever till interrupted
source code

Inherited from SocketServer.ThreadingMixIn: process_request, process_request_thread

Inherited from BaseHTTPServer.HTTPServer: server_bind

Inherited from SocketServer.TCPServer: close_request, fileno, get_request, server_activate, server_close, shutdown_request

Inherited from SocketServer.BaseServer: finish_request, handle_error, handle_request, handle_timeout, serve_forever, shutdown, verify_request

Inherited from SocketServer.BaseServer (private): _handle_request_noblock

Class Variables [hide private]

Inherited from SocketServer.ThreadingMixIn: daemon_threads

Inherited from BaseHTTPServer.HTTPServer: allow_reuse_address

Inherited from SocketServer.TCPServer: address_family, request_queue_size, socket_type

Inherited from SocketServer.BaseServer: timeout

Method Details [hide private]

__init__(self, **kw)
(Constructor)

source code 

runs the FProxyProxy service

Keywords:

  • node - a live FCPNode object
  • fproxyHost - hostname of fproxy
  • fproxyPort - port of fproxy
  • listenHost - hostname to listen on for client HTTP connections
  • listenPort - port to listen on for client HTTP connections
Overrides: SocketServer.BaseServer.__init__