Package lemon :: Package external :: Package gadfly :: Module server :: Class Server
[show private | hide private]
[frames | no frames]

Class Server


database server: listen for commands

Method Summary
  __init__(self, port, db, dr, pw, startup)
  get_admin_policy(self)
return the admin policy for priviledged access.
  getconnection(self)
get the db connection...
  getsocket(self)
get the listening socket...
  init(self)
  start(self)
after init, listen for commands.
  startup_load(self)
setup the policies and load startup module...

Class Variable Summary
int BACKLOG = 5                                                                     
int check_loop = 5                                                                     
str HOST = ''
int select_timeout = 300                                                                   
int verbose = 1                                                                     

Method Details

get_admin_policy(self)

return the admin policy for priviledged access.

getconnection(self)

get the db connection

getsocket(self)

get the listening socket

start(self)

after init, listen for commands.

startup_load(self)

setup the policies and load startup module

Class Variable Details

BACKLOG

Type:
int
Value:
5                                                                     

check_loop

Type:
int
Value:
5                                                                     

HOST

Type:
str
Value:
''                                                                     

select_timeout

Type:
int
Value:
300                                                                   

verbose

Type:
int
Value:
1                                                                     

Generated by Epydoc 2.0 on Mon Nov 10 15:08:00 2003 http://epydoc.sf.net