Ticket #2178 enhancement closed fixed
Generalize XMPP subprotocol containment
|Reported by:||ralphm||Owned by:|
|Cc:||ralphm, glyph, therve||Branch:||branches/xmpp-subprotocols-2178-5|
In twisted.words.protocols.jabber.component an interface IService, and accompanying implementation Service are defined. Together with ServiceManager they allow for implementing a server side XMPP component as a set of subcomponents that each implement parts of the (sub)protocols the component understands.
Other XMPP entities (clients, servers) could also benefit from such an abstraction, so a more general form would be useful. Also, in relation to #1995, the question was raised if this should be derived from twisted.application.service.Service.