[jdev] Formal Component Protocol
Peter Saint-Andre
stpeter at stpeter.im
Tue Mar 3 22:09:23 CST 2009
On 11/12/08 4:14 AM, Jonathan Dickinson wrote:
> Hi All (esp. PSA J),
>
>
>
> 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.
Right. We intended to work on this with XEP-0225 and then add more
layers on top of that if needed. Step 1 would be to finish 225. If folks
are interested in that, let's work on it. :)
> 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=”jim at foo.com” 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=”jim at foo.com”>
>
> <!-- 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: JDev-unsubscribe at jabber.org
> _______________________________________________
--
Peter Saint-Andre
https://stpeter.im/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6751 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.jabber.org/jdev/attachments/20090303/35d84f56/attachment-0003.bin>
More information about the JDev
mailing list