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 through
| Method Summary |
| |
__init__(self,
username,
password)
|
| |
addView(self,
view)
Add a view as a client to the model. |
| |
callRemote(self,
methodName,
*args,
**kwargs)
Call the given remote method on the manager-side AdminAvatar. |
| |
callViews(self,
methodName,
*args,
**kwargs)
Call a method on all views. |
| |
checkElements(self,
workerName,
elements)
|
| |
cleanComponents(self)
|
twisted.internet.defer.Deferred
|
componentCallRemote(self,
componentState,
methodName,
*args,
**kwargs)
Call the given method on the given component with the given args. |
| |
connectToHost(self,
host,
port,
use_insecure)
Connect to a host. |
| |
get_components(self)
|
| |
getBundledFile(self,
bundledPath)
Do everything needed to get the given bundled file. |
| |
getComponents(self)
|
| |
getConfiguration(self)
|
| |
getEntry(self,
componentState,
type)
Do everything needed to set up the entry point for the given component
and type, including transferring and setting up bundles. |
| |
getPlanetState(self)
|
| |
getProperty(self,
componentState,
element,
property)
|
| |
getWorkerHeavenState(self)
|
| |
hasRemoteReference(self)
|
| |
isConnected(self)
|
| |
loadConfiguration(self,
xml_string)
|
| |
reconnect(self)
|
| |
reload(self)
|
twisted.internet.defer.Deferred
|
reloadComponent(self,
componentState)
Tell the manager to reload code for a component. |
| deferred
|
reloadManager(self)
Tell the manager to reload its code. |
| |
remote_componentCall(self,
componentState,
methodName,
*args,
**kwargs)
|
| |
remote_log(self,
category,
type,
message)
|
| |
remote_shutdown(self)
|
| |
removeView(self,
view)
Remove a view as a client to the model. |
| |
setProperty(self,
componentState,
element,
property,
value)
|
| |
setRemoteReference(self,
remoteReference)
|
| |
stateAppend(self,
state,
key,
value)
|
| |
stateRemove(self,
state,
key,
value)
|
| |
stateSet(self,
state,
key,
value)
|
twisted.internet.defer.Deferred
|
workerCallRemote(self,
workerName,
methodName,
*args,
**kwargs)
Call the the given method on the given worker with the given args. |
twisted.internet.defer.Deferred
|
workerRun(self,
workerName,
moduleName,
functionName,
*args,
**kwargs)
Run the given function and args on the given worker. |
| |
_accessDeniedErrback(self,
failure)
|
| |
_callRemoteCallback(self,
result,
methodName,
componentName)
|
| |
_callRemoteErrback(self,
failure,
type,
name,
methodName)
|
| |
_connectedCallback(self,
result)
|
| |
_connectionRefusedErrback(self,
failure)
|
| |
_defaultErrback(self,
failure)
|
| |
_getPlanetState(self,
result)
|
| |
_getWorkerHeavenState(self,
result)
|
| |
_loginCallback(self,
result,
password)
|
| |
_registerCachedPaths(self,
paths)
|
| |
_remoteDisconnected(self,
remoteReference)
|
| |
_setPlanetState(self,
planetState)
|
| |
_setWorkerHeavenState(self,
state)
|
| |
_writeConnection(self)
|
| Inherited from Referenceable |
| |
jellyFor(self,
jellier)
(internal) |
| |
remoteMessageReceived(self,
broker,
message,
args,
kw)
A remote message has been received. |
| Inherited from Serializable |
| |
processUniqueID(self)
Return an ID which uniquely represents this object for this
process. |
| Inherited from Jellyable |
| |
getStateFor(self,
jellier)
|
| 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. |
| Inherited from GObject |
| |
__cmp__(x,
y)
x.__cmp__(y) <==> cmp(x,y) |
| |
__gobject_init__(...)
|
| |
__hash__(x)
x.__hash__() <==> hash(x) |
| |
__new__(T,
S,
...)
T.__new__(S, ...) -> a new object with type S, a subtype of T |
| |
__repr__(x)
x.__repr__() <==> repr(x) |
| |
chain(...)
|
| |
connect(...)
|
| |
connect_after(...)
|
| |
connect_object(...)
|
| |
connect_object_after(...)
|
| |
disconnect(...)
|
| |
emit(...)
|
| |
emit_stop_by_name(...)
|
| |
freeze_notify(...)
|
| |
get_data(...)
|
| |
get_property(...)
|
| |
handler_block(...)
|
| |
handler_disconnect(...)
|
| |
handler_is_connected(...)
|
| |
handler_unblock(...)
|
| |
notify(...)
|
| |
set_data(...)
|
| |
set_property(...)
|
| |
stop_emission(...)
|
| |
thaw_notify(...)
|
| Inherited from object |
| |
__delattr__(...)
x.__delattr__('name') <==> del x.name |
| |
__getattribute__(...)
x.__getattribute__('name') <==> x.name |
| |
__reduce__(...)
helper for pickle |
| |
__reduce_ex__(...)
helper for pickle |
| |
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |
| |
__str__(x)
x.__str__() <==> str(x) |