Table of Contents

Class: PCGIServer Zope-2.2.1-src/ZServer/PCGIServer.py

Accepts PCGI requests and hands them off to the PCGIChannel for handling.

PCGIServer can be configured with either a PCGI info file or by directly specifying the module, pid_file, and either port (for inet sockets) or socket_file (for unix domain sockets.)

For inet sockets, the ip argument specifies the address from which the server will accept connections, '' indicates all addresses. If you only want to accept connections from the localhost, set ip to 127.0.0.1.

Base Classes   
asyncore.dispatcher
Methods   
__init__
handle_accept
listen
read_info
readable
writable
  __init__ 
__init__ (
        self,
        module='Main',
        ip='127.0.0.1',
        port=None,
        socket_file=None,
        pid_file=None,
        pcgi_file=None,
        resolver=None,
        logger_object=None,
        )

  handle_accept 
handle_accept ( self )

  listen 
listen ( self,  num )

  read_info 
read_info ( self,  info_file )

read configuration information from a PCGI info file

Exceptions   
'ParseError'
  readable 
readable ( self )

  writable 
writable ( self )


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6