Trees | Index | Help |
---|
Package flumotion :: Package manager :: Module component :: Class ComponentAvatar |
|
Avatar
--+ |Loggable
--+ |ManagerAvatar
--+ | ComponentAvatar
Method Summary | |
---|---|
| |
__del__(self)
| |
__repr__(self)
| |
Tell the avatar that the given mind has been attached. | |
authenticate(self,
keycard)
| |
checkFeedReady(self,
feedName)
| |
Clean up when detaching." | |
Tell the avatar that the peer's client referenced by the mind has detached. | |
Expire a keycard issued to this component because the bouncer decided to. | |
Get a list of feeder names feeding this component. | |
Get a property of an element. | |
Get a list of feeder names (componentName:feedName) in this component. | |
Returns the port this feed is being fed on. | |
getName(self)
| |
getParentName(self)
| |
getPid(self)
| |
getRemoteManagerIP(self)
| |
getType(self)
| |
Return the name of the worker. | |
perspective_adminCallRemote(self,
methodName,
*args,
**kwargs)
| |
perspective_authenticate(self,
bouncerName,
keycard)
| |
perspective_error(self,
element,
error)
| |
Expire a keycard (and thus the requester's connection) issued to the given requester. | |
perspective_feedStateChanged(self,
feedName,
oldState,
newState)
| |
perspective_heartbeat(self,
moodValue)
| |
perspective_log(self,
*msg)
| |
perspective_notifyFeedPorts(self,
feedPorts)
| |
Remove a keycard on the given bouncer on behalf of a component's medium. | |
twisted.internet.defer.Deferred
|
Tell the component to reload itself. |
Remove a keycard managed by this bouncer because the requester has gone. | |
Set a property on an element. | |
Tell the component to start, possibly linking to other components. | |
stateAppend(self,
state,
key,
value)
| |
stateRemove(self,
state,
key,
value)
| |
stateSet(self,
state,
key,
value)
| |
Tell the avatar to stop the component. | |
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 | |
---|---|
MetaInterface |
__implements__ = flumotion.twisted.flavors.IStateListener |
str |
logCategory : Implementors can provide a category to log their messages under. |
Method Details |
---|
__init__(self,
heaven,
avatarId)
|
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.
|
cleanup(self)Clean up when detaching." |
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
|
expireKeycard(self, keycardId)Expire a keycard issued to this component because the bouncer decided to. |
getEaters(self)Get a list of feeder names feeding this component. Returns: a list of eater names, or the empty list. |
getElementProperty(self, element, property)Get a property of an element.
|
getFeeders(self)Get a list of feeder names (componentName:feedName) in this component. Returns: a list of feeder names, or the empty list. |
getFeedPort(self, feedName)Returns the port this feed is being fed on. |
getWorkerName(self)Return the name of the worker. |
perspective_expireKeycard(self, requesterName, keycardId)Expire a keycard (and thus the requester's connection) issued to the given requester. |
perspective_removeKeycard(self, bouncerName, keycardId)Remove a keycard on the given bouncer on behalf of a component's medium. |
reloadComponent(self)Tell the component to reload itself.
|
removeKeycard(self, keycardId)Remove a keycard managed by this bouncer because the requester has gone. |
setElementProperty(self, element, property, value)Set a property on an element.
|
start(self, eatersData, feedersData)Tell the component to start, possibly linking to other components.
|
stop(self)Tell the avatar to stop the component. |
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 |