Class t.w.p.m.NotificationFactory(ClientFactory):

Part of twisted.words.protocols.msn View Source View In Hierarchy

Factory for the NotificationClient protocol. This is basically responsible for keeping the state of the client and thus should be used in a 1:1 situation with clients.
Instance VariablescontactsAn MSNContactList instance reflecting the current contact list -- this is generally kept up to date by the default command handlers.
userHandleThe client's userHandle, this is expected to be set by the client and is used by the protocol (for logging in etc).
screenNameThe client's current screen-name -- this is generally kept up to date by the default command handlers.
passwordThe client's password -- this is (obviously) expected to be set by the client.
passportServerThis must point to an msn passport server (the whole URL is required)
statusThe status of the client -- this is generally kept up to date by the default command handlers

Inherited from Factory (via ClientFactory):

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.
Method buildProtocol Create an instance of a subclass of Protocol.
API Documentation for twisted, generated by pydoctor.