Method Summary |
|
__init__(self,
name,
unsafeTracebacks)
|
|
componentAddMessage (self,
avatarId,
message)
Set the given message on the given component's state. |
|
componentAttached(self,
componentAvatar)
|
|
componentCreate (self,
componentState)
Create the given component. |
|
componentDetached(self,
componentAvatar)
|
|
deleteFlow(self,
*args,
**kwargs)
|
|
emptyPlanet (self)
Empty the planet of all components, and flows. |
ComponentMapper or None
|
getComponentMapper (self,
object)
Look up an object mapper given the object. |
|
getComponentStates(self)
|
|
getConfiguration (self)
Returns the manager's configuration as a string suitable for importing
via loadConfiguration(). |
|
getFactory(self)
|
|
loadConfiguration (self,
filename,
data)
Load the configuration from the given filename, merging it on top of
the currently running configuration. |
|
registerComponent(self,
componentAvatar)
|
|
releasePortsOnWorker (self,
workerName,
ports)
Tells the manager that the given ports are no longer being used, and
may be returned to the allocation pool. |
|
reservePortsOnWorker (self,
workerName,
numPorts)
Requests a number of ports on the worker named workerName. |
|
setBouncer (self,
bouncer)
|
|
unregisterComponent(self,
componentAvatar)
|
|
workerAttached(self,
workerAvatar)
|
|
workerDetached(self,
workerAvatar)
|
|
_addComponent (self,
config,
parent)
Add a component state for the given component config entry. |
|
_configToComponentState(self,
config,
avatar)
|
|
_createCallback(self,
result,
componentState)
|
|
_createErrback(self,
failure,
state)
|
|
_createHeaven (self,
interface,
klass)
Create a heaven of the given klass that will send avatars to clients
implementing the given medium interface. |
|
_emptyPlanetCallback(self,
result)
|
|
_getComponentsToStart(self)
|
|
_workerCreateComponentDelayed(self,
result,
workerAvatar,
componentState,
type,
config)
|
|
_workerCreateComponents (self,
workerAvatar,
components)
Create the list of components on the given worker, sequentially, but
in no specific order. |
Inherited from Loggable |
|
debug (self,
*args)
Log a debug message. |
|
error (self,
*args)
Log an error. |
|
info (self,
*args)
Log an informational message. |
|
log (self,
*args)
Log a log message. |
|
logFunction (self,
message)
Overridable log function. |
|
logObjectName (self)
Overridable object name function. |
|
warning (self,
*args)
Log a warning. |
|
warningFailure (self,
failure)
Log a warning about a Failure. |