Home | Trees | Index | Help |
|
---|
Package driver :: Module driverapi |
|
Function Summary | |
---|---|
Adds a manager to the Engine. | |
Engine |
Retrieves the Engine singleton. |
Manager |
Retrieves a manager from the engine. |
Logs stuff to stdout. | |
Convenience method for grabbing the traceback, formatting it, and piping it to the logs. | |
Registers a function with a given hook. | |
Thread |
Starts a thread with the name and func given. |
Variable Summary | |
---|---|
str |
DISCONNECT_LINKDEATH = 'linkdeath'
|
str |
DISCONNECT_QUIT = 'quit'
|
int |
HOOK_FIRST = 1 |
int |
HOOK_LAST = 99 |
Function Details |
---|
add_manager(name, manager)Adds a manager to the Engine.
|
get_engine()Retrieves the Engine singleton.
|
get_manager(name)Retrieves a manager from the engine.
|
log(message)Logs stuff to stdout.
|
print_traceback(message='')Convenience method for grabbing the traceback, formatting it, and piping it to the logs.
|
register_hook(hookname, func, place=None)Registers a function with a given hook. If the hook doesn't exist then it instantiates the hook.
|
start_thread(threadname, threadfunc)Starts a thread with the name and func given.
|
Variable Details |
---|
DISCONNECT_LINKDEATH
|
DISCONNECT_QUIT
|
HOOK_FIRST
|
HOOK_LAST
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Wed Jan 21 21:00:06 2004 | http://epydoc.sf.net |