[Standards-JIG] Component protocol : JEP 114
stpeter at jabber.org
Wed May 10 22:47:32 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Peter Saint-Andre wrote:
> Mridul Muralidharan wrote:
>>> It would be great if someone could clarify this for us.
>>> In section 3 (Protocol flow) of the JEP , it is specified that the 'to'
>>> while opening the stream should be the component jid , but nothing is
>>> mentioned about the 'from' for the response from the server.
>>> The example gives the impression that the 'from' should be the component
>>> jid itself , while xmpp specifies that it should be the server domain.
>>> Which of this is correct ?
> In the stream header from the server to the component, the 'from'
> attribute is set to the component JID.
BTW, that is for the jabber:component:accept namespace, since the server
accepts connections from the component when that namespace is used.
By contrast, the server initiates a connection to the component when the
jabber:component:connect namespace is used. This is less common.
(Older methods also included jabber:component:exec but that is not
documented in JEP-0114 because connecting via STDIO is discouraged.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3641 bytes
Desc: S/MIME Cryptographic Signature
More information about the Standards