Class t.s.p.PBServerFactory(protocol.ServerFactory):

Part of twisted.spread.pb View Source View In Hierarchy

Server factory for perspective broker.

Login is done using a Portal object, whose realm is expected to return avatars implementing IPerspective. The credential checkers in the portal should accept IUsernameHashedPassword or IUsernameMD5Password.

Alternatively, any object implementing or adaptable to IPBRoot can be used instead of a portal to provide the root object of the PB server.
Method __init__ Undocumented
Method buildProtocol Return a Broker attached to me (as the service provider).
Method clientConnectionMade Undocumented

Inherited from Factory (via ServerFactory):

Method doStart Make sure startFactory is called.
Method doStop Make sure stopFactory is called.
Method startFactory This will be called before I begin listening on a Port or Connector.
Method stopFactory This will be called before I stop listening on all Ports/Connectors.
def __init__(self, root, unsafeTracebacks=False): (source)
Undocumented
def buildProtocol(self, addr): (source)
Return a Broker attached to me (as the service provider).
def clientConnectionMade(self, protocol): (source)
Undocumented
API Documentation for twisted, generated by pydoctor.