[Standards-JIG] Component protocol : JEP 114

Peter Saint-Andre stpeter at jabber.org
Wed May 10 22:47:32 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Saint-Andre wrote:
> Mridul Muralidharan wrote:
>>> Hi,
>>>
>>>  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.)

/psa


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEYm2ENF1RSzyt3NURAkA+AKCIwuZWpx2rpWHARSVILTJHU1cxDACcCDH1
oTQrqRofbnRxQLrXlfIB9uM=
=nBpu
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3641 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20060510/3f335cda/attachment.bin>


More information about the Standards mailing list