[Standards] LAST CALL: XEP-0359 (Unique and Stable Stanza IDs)

Ненахов Андрей andrew.nenakhov at redsolution.ru
Mon Nov 26 09:14:28 UTC 2018


пн, 26 нояб. 2018 г. в 04:01, Daniel Gultsch <daniel at gultsch.de>:
> That might be the crux here by the way. What is the purpose of the origin-id?

We have implemented a reliable delivery protocol based on XEP-0359,
that basically works like this:
 * client sends stanza with origin-id
 * server receives this message and assigns stanza-id to it, a
timestamp, returning receipt with this information (along with
origin-id) to client
 * client receives this receipt and matches stanza-id with origin-id

So, the purpose of the origin-id is to be a temporary ID on client
side until it knows a 'true' stanza-id assigned by it's server.

(protocol is more complex, with retries and such, but it's a bigger
scope outside question on origin-id purpose)

-- 
Ненахов Андрей
Директор ООО "Редсолюшн" (Челябинск)
(351) 750-50-04
http://www.redsolution.ru


More information about the Standards mailing list