Hi All (esp. PSA :)), One thing that I have seen with my experiences so far is that there is practically no formal component protocol. <http://xmpp.org/extensions/xep-0114.html> only shows us how to establish a stream. Things that nag me (which I still have to figure out, so if you have answers...):
* No indication on newer authentication protocols, just handshakes (don't need answers here, I can take example from other server docs, FYI Tigase has really good docs in regard to this)... * Binding which is mainstream in, from what I can tell, all current XMPP servers. This is not in the XEP. * Routing stanzas, again, are not in the XEP. Here comes the big one: given that binding is for all intents and purposes 'official', how do I handle these scenarios: * I want to send a message directly to "router15" (one of the components) and not have it leave the network. * I want to send a message to all components of a specific type (related to the above). * I want to send a message to a user. My current best guess is (these are embedded in the body of stream:stream): <!-- send message to specific component --> <route from="sm" to="sqlAuth"> <client:iq type="get" from="[EMAIL PROTECTED]" to="foo.com"> <!-- SASL stuff --> </client:iq> </route> <!-- send message to all components of a specific type --> <route from="router2" to="router*"> <presence type="unavailable"/> <!-- router going down --> </route> <!-- send message from component to user --> <client:iq type="result" from="foo.com" to="[EMAIL PROTECTED]"> <!-- SASL stuff --> </client:iq> Thanks again.
_______________________________________________ JDev mailing list FAQ: http://www.jabber.org/discussion-lists/jdev-faq Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [EMAIL PROTECTED] _______________________________________________
