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 Summary |
|
__init__(self,
root,
unsafeTracebacks)
|
|
buildProtocol (self,
addr)
Return a Broker attached to me (as the service provider). |
|
clientConnectionMade(self,
protocol)
|
Inherited from Factory |
|
doStart (self)
Make sure startFactory is called. |
|
doStop (self)
Make sure stopFactory is called. |
|
startFactory (self)
This will be called before I begin listening on a Port or
Connector. |
|
stopFactory (self)
This will be called before I stop listening on all
Ports/Connectors. |