Each component that logs in to the manager gets an avatar created for
it in the manager.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
detached(self,
mind)
Tell the avatar that the peer's client referenced by the mind has
detached. |
source code
|
|
|
|
|
|
|
|
list of str
|
|
list of str
|
|
int
|
getFeedServerPort(self)
Returns the port on which a feed server for this component is
listening on. |
source code
|
|
str
|
getRemoteManagerIP(self)
Get the IP address of the manager as seen by the component. |
source code
|
|
str
|
getWorkerName(self)
Return the name of the worker. |
source code
|
|
int
|
getPid(self)
Return the PID of the component. |
source code
|
|
str
|
getName(self)
Get the name of the component. |
source code
|
|
str
|
getParentName(self)
Get the name of the component's parent. |
source code
|
|
str
|
getType(self)
Get the component type name of the component. |
source code
|
|
|
stop(self)
Tell the avatar to stop the component. |
source code
|
|
|
|
|
start(self,
*args,
**kwargs)
Tell the component to start, possibly linking to other components. |
source code
|
|
|
|
|
feedTo(self,
componentId,
feedId,
host,
port) |
source code
|
|
|
|
|
|
twisted.internet.defer.Deferred
|
reloadComponent(self)
Tell the component to reload itself. |
source code
|
|
|
|
|
|
|
|
|
|
|
perspective_cleanShutdown(self)
Called by a component to tell the manager that it's shutting down
cleanly (and thus should go to sleeping, rather than lost or sad) |
source code
|
|
|
|
|
|
|
|
|
|
Inherited from base.ManagerAvatar :
disconnect ,
getClientAddress ,
hasRemoteReference ,
mindCallRemote ,
perspective_authenticate ,
perspective_getBundleSums ,
perspective_getBundleSumsByFile ,
perspective_getBundleZips ,
perspective_getKeycardClasses ,
timeoutDisconnect
Inherited from twisted.pb.PingableAvatar :
perspective_ping ,
setMind ,
startPingChecking ,
stopPingChecking
Inherited from twisted.pb.Avatar :
mindCallRemoteLogging ,
perspectiveMessageReceived
Inherited from twisted.spread.pb.Avatar :
__providedBy__
Inherited from common.log.Loggable :
debug ,
doLog ,
error ,
info ,
log ,
logFunction ,
logObjectName ,
warning ,
warningFailure
|