twisted.words.protocols.jabber.component.XMPPComponentServerFactory(xmlstream.XmlStreamServerFactory)
class documentationtwisted.words.protocols.jabber.component
View Source
(View In Hierarchy)
XMPP Component Server factory.
This factory accepts XMPP external component connections and makes the router service route traffic for a component's bound domain to that component.
Present Since | 8.2 |
Method | __init__ | Undocumented |
Method | onConnectionMade | Called when a component connection was made. |
Method | onAuthenticated | Called when a component has successfully authenticated. |
Method | onError | Undocumented |
Method | onConnectionLost | Undocumented |
Inherited from Factory (via XmlStreamServerFactory, ServerFactory):
Class Method | forProtocol | Create a factory for the given protocol. |
Method | logPrefix | Describe this factory for log messages. |
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. |
Inherited from Factory (via XmlStreamServerFactory, ServerFactory):
Class Method | forProtocol | Create a factory for the given protocol. |
Method | logPrefix | Describe this factory for log messages. |
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. |
Inherited from Factory (via XmlStreamServerFactory, ServerFactory):
Class Method | forProtocol | Create a factory for the given protocol. |
Method | logPrefix | Describe this factory for log messages. |
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. |
Called when a component connection was made.
This enables traffic debugging on incoming streams.
Called when a component has successfully authenticated.
Add the component to the routing table and establish a handler for a closed connection.