Trees | Indices | Help |
---|
|
twisted.spread.pb.Avatar --+ | common.log.Loggable --+ | twisted.pb.Avatar --+ | twisted.pb.PingableAvatar --+ | common.log.Loggable --+ | base.ManagerAvatar --+ | AdminAvatar
I am an avatar created for an administrative client interface. A reference to me is given (for example, to gui.AdminInterface) when logging in and requesting an "admin" avatar. I live in the manager.
|
|||
|
|||
|
|||
list of planet.ManagerComponentState |
|
||
|
|||
|
|||
flumotion.common.planet.ManagerPlanetState |
|
||
flumotion.common.worker.ManagerWorkerHeavenState |
|
||
|
|||
|
|||
|
|||
|
|||
twisted.internet.defer.Deferred
|
|
||
|
|||
|
|||
|
|||
|
|||
str |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
logCategory =
Implementors can provide a category to log their messages under. |
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Tell the avatar that the given mind has been attached. This gives the avatar a way to call remotely to the client that requested this avatar. This is scheduled by the portal after the client has logged in.
|
Tell the avatar that the peer's client referenced by the mind has detached. Called through the manager's PB logout trigger calling flumotion.manager.manager.Dispatcher.removeAvatar
|
Return all component states logged in to the manager. The list gets serialized to a list of flumotion.common.planet.AdminComponentState
|
This method is called when a network message is received. I will call: | self.perspective_%(message)s(*broker.unserialize(args), | **broker.unserialize(kw)) to handle the method; subclasses of Avatar are expected to implement methods of this naming convention.
|
Start the given component. The component should be sleeping before this.
|
Stop the given component. If the component was sad, we clear its sad state as well, since the stop was explicitly requested by the admin.
|
Restart the given component.
|
Call a method on the given component on behalf of an admin client.
|
Call a remote method on the worker. This is used so that admin clients can call methods from the interface to the worker.
|
Get the entry point for a piece of bundled code by the type. Returns: a (filename, methodName) tuple, or raises a Failure |
Reload modules in the given component.
|
Opens a file that the flow should be written to. Note that the returned file object might be an existing file, opened in append mode; if the loadConfiguration operation succeeds, the file should first be truncated before writing. |
Load the given XML configuration into the manager. If the optional saveAs parameter is passed, the XML snippet will be saved to disk in the manager's flows directory.
|
Delete a component from the manager. A component can only be deleted when it is sleeping or sad. It is the caller's job to ensure this is the case; calling this function on a running component will raise a ComponentBusyError.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Apr 11 07:40:27 2008 | http://epydoc.sourceforge.net |