Package flumotion :: Package worker :: Module feedserver :: Class FeedServer
[hide private]

Class FeedServer

source code

extern.log.log.Loggable --+
                          |
                         FeedServer

I am the feed server. PHEAR

Instance Methods [hide private]
 
__init__(self, brain, bouncer, portNum) source code
 
getPortNum(self) source code
 
listen(self, bouncer, portNum, unsafeTracebacks=0) source code
 
shutdown(self) source code
 
requestAvatar(self, avatarId, keycard, mind, *ifaces) source code
 
avatarLogout(self, avatar) source code
 
feedToFD(self, componentId, feedId, fd, eaterId) source code
 
eatFromFD(self, componentId, eaterAlias, fd, feedId) source code
 
__provides__(...)
Special descriptor for class __provides__

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  logCategory = 'dispatcher'
Implementors can provide a category to log their messages under.
  __implemented__ = <implementedBy flumotion.worker.feedserver.F...
Method Details [hide private]

__init__(self, brain, bouncer, portNum)
(Constructor)

source code 
Parameters:

__provides__(...)

 
Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that
we can get declarations for objects without instance-specific
interfaces a bit quicker.

For example:

  >>> from zope.interface import Interface
  >>> class IFooFactory(Interface):
  ...     pass
  >>> class IFoo(Interface):
  ...     pass
  >>> class C(object):
  ...     implements(IFoo)
  ...     classProvides(IFooFactory)
  >>> [i.getName() for i in C.__provides__]
  ['IFooFactory']

  >>> [i.getName() for i in C().__provides__]
  ['IFoo']


Class Variable Details [hide private]

__implemented__

Value:
<implementedBy flumotion.worker.feedserver.FeedServer>