Trees | Index | Help |
---|
Package flumotion :: Package manager :: Module admin :: Class AdminAvatar |
|
Avatar
--+ |Loggable
--+ |ManagerAvatar
--+ | AdminAvatar
Method Summary | |
---|---|
Tell the avatar that the given mind has been attached. | |
Tell the avatar that the peer's client referenced by the mind has detached. | |
list of flumotion.common.planet.ManagerComponentState
|
Return all component states logged in to the manager. |
perspective_cleanComponents(self)
| |
Call a method on the given component on behalf of an admin client. | |
Start the given component. | |
Get the entry point for a piece of bundled code by the type. | |
perspective_getPlanetState(self)
| |
perspective_getWorkerHeavenState(self)
| |
| |
Reload modules in the given component. | |
Reload modules in the manager. | |
perspective_shutdown(self)
| |
Call a remote method on the worker. | |
Send the given log message to the peer. | |
_reloaded(self)
| |
Inherited from ManagerAvatar | |
| |
Get the IPv4 address of the machine the client is connecting from. | |
boolean |
Check if the avatar has a remote reference to the peer. |
Call the given remote method. | |
list of (string, string) tuples |
Get a list of (bundleName, md5sum) of all dependency bundles, starting with this bundle, in the correct order. |
list of (string, string) tuples |
Get a list of (bundleName, md5sum) of all dependency bundles, starting with this bundle, in the correct order. |
Get the zip files for the given list of bundles. | |
| |
Inherited from Avatar | |
This method is called when a network message is received. | |
Inherited from Loggable | |
Log a debug message. | |
Log an error. | |
Log an informational message. | |
Log a log message. | |
Overridable log function. | |
Overridable object name function. | |
Log a warning. |
Class Variable Summary | |
---|---|
str |
logCategory : Implementors can provide a category to log their messages under. |
Method Details |
---|
attached(self, mind)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.
|
detached(self, mind)Tell the avatar that the peer's client referenced by the mind has detached. Called through the manager's PB logout trigger callingflumotion.manager.manager.Dispatcher.removeAvatar
|
getComponentStates(self)Return all component states logged in to the manager. The list gets serialized to a list offlumotion.common.planet.AdminComponentState
|
perspective_componentCallRemote(self, componentState, methodName, *args, **kwargs)Call a method on the given component on behalf of an admin client.
|
perspective_componentStart(self, componentState)Start the given component. The component should be sleeping before this. |
perspective_getEntryByType(self, componentState, type)Get the entry point for a piece of bundled code by the type. Returns: a (filename, methodName) tuple, or raises a Failure. |
perspective_loadConfiguration(self, xml)
|
perspective_reloadComponent(self, componentState)Reload modules in the given component. |
perspective_reloadManager(self)Reload modules in the manager. |
perspective_workerCallRemote(self, workerName, methodName, *args, **kwargs)Call a remote method on the worker. This is used so that admin clients can call methods from the interface to the worker.
|
sendLog(self, category, type, message)Send the given log message to the peer. |
Class Variable Details |
---|
logCategoryImplementors can provide a category to log their messages under.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Feb 16 07:22:59 2005 | http://epydoc.sf.net |