| Home | Trees | Index | Help |
|---|
GBaseApp --+
|
GServerApp
| Method Summary | |
|---|---|
| |
Turn ourselves into a daemon/service/etc. | |
This can be overwritten by code necessary for startup. | |
Called when a request to shutdown the server is received | |
| Inherited from GBaseApp | |
Create a new command option and add it to the options sequence. | |
Return a generator for iterating a given reference cycle. | |
Build 'help text' for all options of the given category. | |
Debug Python's garbage collection. | |
Display all configuration settings and their default values and quit the program. | |
Run the self documentation. | |
Display the version information and quit the program. | |
This function catches an exception and evaluates it using getException(). | |
Find a reference cycle starting from a given object(current) and ending with a given object(search). | |
Convert a sequence of parameters (i.e. | |
Display a startup error and exit gracefully. | |
Print help information for this application and quit the program. | |
Print connection/database-related help information and quit the program. | |
Print help information for this application and quit the program. | |
Print the help footer including the address for bug reports. | |
Print version information and the usage header | |
Display version information for this application | |
Run the self-documentation for an application. | |
| Class Variable Summary | |
|---|---|
| Inherited from GBaseApp | |
list |
ARGUMENTS = []
|
str |
AUTHOR = 'GNU Enterprise Project'
|
str |
COMMAND = 'app'
|
list |
COMMAND_OPTIONS = []
|
str |
CONFIGFILE = 'gnue.conf'
|
NoneType |
connections = None |
str |
EMAIL = 'info@gnue.org'
|
str |
NAME = 'GNUe Application'
|
dict |
OPTIONS = {}
|
str |
REPORT_BUGS_TO = 'Please report any bugs to info@gnue.or...
|
str |
SUMMARY = 'A brief summary of the program goes here.'
|
str |
USAGE = '[options]'
|
int |
USE_CONNECTIONS = 1 |
int |
USE_DATABASE_OPTIONS = 0 |
int |
USE_RPC_OPTIONS = 0 |
str |
VERSION = '0.0.0'
|
| Method Details |
|---|
__init__(self,
connections=None,
application=None,
defaults=None)
|
daemonize(self)Turn ourselves into a daemon/service/etc.
|
run(self)This can be overwritten by code necessary for startup. If overwritten, do not first call the original GServerApp.run(self) as this would send to background immediately. Instead, call the original GServerApp.run(self) after you are sure you are finished with startup code and are ready to go to server mode.
|
shutdown(self)Called when a request to shutdown the server is received |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Tue Dec 2 23:02:09 2008 | http://epydoc.sf.net |