| Method Summary |
| |
__init__(self)
|
| |
addHook(self,
hookname,
newhook)
Adds a pre-existing hook to the manager so we can manage it. |
| |
addSession(self,
newsession,
basesession)
Tells the manager to create a new session based on another
session. (inherited from Manager)
|
| |
clear(self,
ses)
Removes everything the manager was managing--essentially reinitializes
it. (inherited from Manager)
|
| Hook
|
getHook(self,
hookname)
Retrieves a hook by the name of hookname. |
| list of strings
|
getHookList(self)
Returns a list of hooks that are currently in existence. |
| string
|
getHookStatus(self)
Returns information about the hooks that have things registered to
them for #diagnostics output. |
| string
|
getInfo(self,
ses,
text)
Returns information managed by this class. (inherited from Manager)
|
| list of strings
|
getState(self,
ses)
Returns the state of something as a list of command strings without
the command char (which is added by #write). (inherited from Manager)
|
| string
|
getStatus(self,
ses)
Returns a one-liner status of the state of this manager for a given
session. (inherited from Manager)
|
| |
register(self,
hookname,
func,
place)
Registers a function with a given hook. |
| |
removeSession(self,
ses)
Tells the manager to remove information regarding the session. (inherited from Manager)
|
| |
unregister(self,
hookname,
func)
If the hook exists, unregisters the func from the hook. |