A publisher sends a SUBSCRIBE_DONE message to indicate it is done publishing
Objects for that subscription. The Status Code indicates why the subscription ended,
and whether it was an error.
The format of SUBSCRIBE_DONE is as follows:
SUBSCRIBE_DONE Message {
Type (i) = 0xB,
Length (i),
Subscribe ID (i),
Status Code (i),
Reason Phrase Length (i),
Reason Phrase (..),
ContentExists (8),
[Final Group (i)],
[Final Object (i)],
}
-
Subscribe ID: Subscription identifier as defined in Section 6.4.
-
Status Code: An integer status code indicating why the subscription ended.
-
Reason Phrase: Provides the reason for subscription error.
-
ContentExists: 1 if an object has been published for this subscription, 0 if not. If 0, then the Final Group and Final Object fields will not be present. Any other value is a protocol error and MUST terminate the session with a Protocol Violation (Section 3.5).
-
Final Group: The largest Group ID sent by the publisher in an OBJECT message in this track.
-
Final Object: The largest Object ID sent by the publisher in an OBJECT message in the
Final Groupfor this track.