Trees | Index | Help |
---|
Package flumotion :: Package worker :: Module feed :: Class FeedAvatar |
|
Avatar
--+ |Loggable
--+ |Avatar
--+ | FeedAvatar
I am an avatar in a FeedServer for components that log in and request to eat from or feed to one of my components.
My mind is a reference to aFeedMedium
Method Summary | |
---|---|
| |
attached(self,
mind)
| |
detached(self)
| |
Called when the PB client wants to send the given feedId to the given component | |
Called when the PB client wants us to send them the given feed. | |
_doReceiveFeed(self,
componentId,
feedId)
| |
_sendFeedReplyCb(self,
result,
fullFeedId)
| |
Inherited from Avatar | |
Disconnect the remote PB client. | |
Call the given remote method, and log calling and returning nicely. | |
Call the given remote method, and log calling and returning nicely. | |
| |
Tell the avatar that the given mind has been attached. | |
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. |
Class Variable Summary | |
---|---|
str |
logCategory : Implementors can provide a category to log their messages under. |
str | remoteLogName : name to use to log the other side of the connection |
Inherited from Avatar | |
Implements |
__implemented__ = <implementedBy twisted.spread.pb.Avata...
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
Method Details |
---|
__init__(self,
feedServerParent,
avatarId)
|
perspective_receiveFeed(self, componentId, feedId)Called when the PB client wants to send the given feedId to the given component |
perspective_sendFeed(self, fullFeedId)Called when the PB client wants us to send them the given feed. |
Class Variable Details |
---|
logCategoryImplementors can provide a category to log their messages under.
|
remoteLogNamename to use to log the other side of the connection
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri Feb 2 11:44:37 2007 | http://epydoc.sf.net |