[Medusa-dev] Sub-classing http_server
Leonard Bocock
leonardbocock at yahoo.com
Thu Jul 17 06:09:37 EDT 2003
List
I'm trying to sub-class Medusa into a Threaded class -
I basically want to run several 'instances' of the
HTTP server in their own instances.
Is this possible to do. I notice Zope has done
this....
class new_server(http_server):
def __init__ (self, ip, port, resolver=None,
logger_object=None):
self.shutup=1
http_server.__init__(self, ip, port, resolver,
logger_object)
but I can't get the sub-classing to work. What am I
missing?
if __name__ == '__main__':
zs = zhttp_server(.....
Thanks, Leonard
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
More information about the Medusa-dev
mailing list