[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (MQTT-387) 3.3.2.6 Topic Alias. - comments
[ https://issues.oasis-open.org/browse/MQTT-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=64819#comment-64819 ]
Brian Raymor edited comment on MQTT-387 at 1/12/17 11:28 AM:
-------------------------------------------------------------
[Withdrawn]
was (Author: brianraymor):
1761 A Topic Alias of 0 is not permitted. A sender MUST NOT send a PUBLISH packet containing a Topic
1762 Alias which has the value 0.
I'd move this earlier in the section. Perhaps:
1739 A Topic Alias is an integer value that can be used to identify the Topic, instead of including the full Topic
1740 Name.
A Topic Alias is a non-zero integer value ... including the full Topic Name. A sender MUST NOT send a PUBLISH packet containing a Topic
Alias which has the value 0.
-or-
The sender establishes an alias by including a non-zero length Topic Name and a Topic Alias value in the PUBLISH packet. The Topic Alias MUST NOT have a value of 0.
> 3.3.2.6 Topic Alias. - comments
> -------------------------------
>
> Key: MQTT-387
> URL: https://issues.oasis-open.org/browse/MQTT-387
> Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
> Issue Type: Bug
> Components: edits
> Affects Versions: 5, wd10
> Reporter: Brian Raymor
> Priority: Trivial
> Fix For: 5, wd10
>
>
> I would reverse the order of the paragraphs - 1743 and 1747. The flow follow the order of the process.
> 1747 The sender decides whether to use an alias and chooses the alias value. It establishes an alias by
> 1748 including a non-zero length Topic Name and a Topic Alias value in the PUBLISH packet. When it receives
> 1749 a packet like this the receiver processes the packet as normal, but it also records the mapping of Topic
> 1750 Alias to full Topic Name.
> The sender establishes an alias by including a non-zero length Topic Name and a Topic Alias value in the PUBLISH packet. When it receives such a packet, a receiver processes it as normal and also records the mapping of Topic Alias to its corresponding Topic Name.
> 1743 If a Topic Alias has been established at the receiver a sender is permitted to send a PUBLISH packet that
> 1744 contains that Topic Alias and supplying a zero-length String in place of the Topic Name.
> Once a Topic Alias has been established at the receiver[,], a sender is permitted to send a PUBLISH packet that contains that Topic Alias and a zero-length String in place of the Topic Name.
--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]