There should be a support for custom XML sending and responding in the XMPP module. Implementor should think about supporting the SendXML command in the JabberProtocol (rename it to XMPPProtocol maybe?) and providing an XEP-based API in the Handlers (currently there's MucHandler and PrivateHandler but there conceptually may be more of them). Maybe factor out the Handler interface for easier protocol implementing?
There should be a support for custom XML sending and responding in the XMPP module. Implementor should think about supporting the SendXML command in the
JabberProtocol(rename it toXMPPProtocolmaybe?) and providing an XEP-based API in theHandlers (currently there'sMucHandlerandPrivateHandlerbut there conceptually may be more of them). Maybe factor out theHandlerinterface for easier protocol implementing?