Module co2 :: Class Co2
[show private | hide private]
[frames | no frames]

Class Co2


the actual wrapper object.
Method Summary
  __init__(self, s_vars, r_vars)
instantiate a server (satellite or registry).
  __repr__(self)
  __str__(self)
  shut_down(self)
shut_down(): shut down the server cleanly.
  sig_handler(self, signum, frame)
sig_handler(signum, frame): handle a signal.

Method Details

__init__(self, s_vars, r_vars)
(Constructor)

instantiate a server (satellite or registry). exits in case the initialization of server.Co2Server fails. handles keyboard interrupts and signals (-> exit cleanly).
Parameters:
s_vars - server specific variables
           (type=dictionary)
r_vars - registry specific variables
           (type=dictionary)

shut_down(self)

shut_down(): shut down the server cleanly.

sig_handler(self, signum, frame)

sig_handler(signum, frame): handle a signal. at the moment SIGHUP and SIGTERM are handled, i.e. the server tries to exit cleanly.

Generated by Epydoc 1.1 on Thu Oct 16 16:37:23 2003 http://epydoc.sf.net