Trees | Index | Help |
---|
Package flumotion :: Package admin :: Module admin :: Class AdminModel |
|
object
--+ |GObject
--+ |Loggable
--+ | | |Jellyable
--+ | | | | |Serializable
--+ | | | | |Referenceable
--+ | | |Referenceable
--+ | | |BaseMedium
--+ | | |PingingMedium
--+ | AdminModel
I live in the admin client. I am a data model for any admin view implementing a UI to communicate with one manager. I send signals when things happen.
Manager calls on us throughflumotion.manager.admin.AdminAvatar
Method Summary | |
---|---|
__init__(self,
authenticator)
| |
adminInfoStr(self)
| |
checkElements(self,
workerName,
elements)
| |
checkImport(self,
workerName,
moduleName)
| |
cleanComponents(self)
| |
twisted.internet.defer.Deferred
|
Call the given method on the given component with the given args. |
connectionFailed(self,
failure)
| |
connectionInfoStr(self)
| |
Connect to a host. | |
get_components(self)
| |
getComponents(self)
| |
getConfiguration(self)
| |
getEntry(self,
*args,
**kwargs)
| |
| |
getWorkerHeavenState(self)
| |
isConnected(self)
| |
loadConfiguration(self,
xml_string)
| |
managerInfoStr(self)
| |
reconnect(self)
| |
reload(self)
| |
reload_async(self,
*args,
**kwargs)
| |
reloadAdmin(self)
| |
twisted.internet.defer.Deferred
|
Tell the manager to reload code for a component. |
deferred |
Tell the manager to reload its code. |
remote_log(self,
category,
type,
message)
| |
| |
setRemoteReference(self,
*args,
**kwargs)
| |
shutdown(self)
| |
stateAppend(self,
state,
key,
value)
| |
stateRemove(self,
state,
key,
value)
| |
stateSet(self,
state,
key,
value)
| |
twisted.internet.defer.Deferred
|
Call the the given method on the given worker with the given args. |
twisted.internet.defer.Deferred firing an flumotion.common.messages.Result
|
Run the given function and args on the given worker. |
Inherited from PingingMedium | |
| |
| |
Inherited from BaseMedium | |
Call the given method with the given arguments remotely on the server-side avatar. | |
Call the given method with the given arguments remotely on the server-side avatar. | |
Does the medium have a remote reference to a server-side avatar ? | |
| |
Inherited from Referenceable | |
| |
Inherited from Referenceable | |
(internal) | |
Inherited from Serializable | |
Return an ID which uniquely represents this object for this process. | |
Inherited from Jellyable | |
| |
Inherited from Loggable | |
Log a debug message. | |
dict |
Log a message at the given level, with the possibility of going higher up in the stack. |
Log an error. | |
Log an informational message. | |
Log a log message. | |
Overridable log function. | |
Overridable object name function. | |
Log a warning. | |
Log a warning about a Failure. | |
Inherited from GObject | |
x.__cmp__(y) <==> cmp(x,y) | |
| |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
x.__repr__() <==> repr(x) | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Instance Variable Summary | |
---|---|
Inherited from BaseMedium | |
twisted.spread.pb.RemoteReference |
remote : a remote reference to the server-side object on which
perspective_(methodName) methods can be called |
Class Variable Summary | |
---|---|
GType |
__gtype__ = <GType flumotion+admin+admin+AdminModel (858...
|
Implements |
__implemented__ = <implementedBy flumotion.admin.admin.A...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
str |
logCategory : Implementors can provide a category to log their messages under. |
NoneType |
planet = None |
Inherited from BaseMedium | |
flumotion.common.bundleclient.BundleLoader |
bundleLoader = None |
str | remoteLogName : name to use to log the other side of the connection |
Inherited from Referenceable | |
NoneType |
perspective = None |
Inherited from Jellyable | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
Inherited from GObject | |
str |
__gdoc__ = 'Object GObject\n\nSignals from GObject:\n n...
|
getset_descriptor |
__grefcount__ = <attribute '__grefcount__' of 'gobject.G...
|
GProps |
props = <gobject.GProps object at 0x2b88ca2b0550>
|
Method Details |
---|
componentCallRemote(self, componentState, methodName, *args, **kwargs)Call the given method on the given component with the given args.
|
connectToHost(self, host, port, use_insecure=False, keep_trying=False)Connect to a host. |
getProperty(self, componentState, element, property)
|
reloadComponent(self, componentState)Tell the manager to reload code for a component.
|
reloadManager(self)Tell the manager to reload its code.
|
setProperty(self, componentState, element, property, value)
|
workerCallRemote(self, workerName, methodName, *args, **kwargs)Call the the given method on the given worker with the given args.
|
workerRun(self, workerName, moduleName, functionName, *args, **kwargs)Run the given function and args on the given worker. If the worker does not already have the module, or it is out of date, it will be retrieved from the manager.
|
Class Variable Details |
---|
__gtype__
|
__implemented__
|
__provides__
|
logCategoryImplementors can provide a category to log their messages under.
|
planet
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri Feb 2 11:29:20 2007 | http://epydoc.sf.net |