CloudServices/FirefoxMobileServices/ChannelService: Difference between revisions

Line 109: Line 109:
it was not possible to deliver the message.
it was not possible to deliver the message.


<code>
<pre>
Metadata:
Metadata:
   MessageID: ce3488ea-cf7c-41c3-8110-9907b1fe80e8
   MessageID: ce3488ea-cf7c-41c3-8110-9907b1fe80e8
Line 116: Line 116:
   Nack: True
   Nack: True
Payload: ................
Payload: ................
</code>
</pre>


This indicates that the message should attempt 3 deliveries of the message, 1 minute later, than 5 minutes, than 1 hour after that. The inability to deliver the message in this case triggers a Nack which is delivered over the inbound queue
This indicates that the message should attempt 3 deliveries of the message, 1 minute later, than 5 minutes, than 1 hour after that. The inability to deliver the message in this case triggers a Nack which is delivered over the inbound queue
Line 129: Line 129:
Device Change Message:
Device Change Message:


<code>
<pre>
Type: DeviceIDChange
Type: DeviceIDChange
Metadata:
Metadata:
   OldDeviceID: AABCDC-550e8400-e29b-41d4-a716-446655440000
   OldDeviceID: AABCDC-550e8400-e29b-41d4-a716-446655440000
   NewDeviceID: ACDCBA-550e8400-e29b-41d4-a716-446655440000
   NewDeviceID: ACDCBA-550e8400-e29b-41d4-a716-446655440000
</code>
</pre>


It is not expected that device ID's will change frequently, as a change indicates a client has changed geographic regions (North America -> South America, Europe -> North America, etc). Device ID's may change more frequently in the future if the geographic region is further confined (East Europe <-> West Europe).
It is not expected that device ID's will change frequently, as a change indicates a client has changed geographic regions (North America -> South America, Europe -> North America, etc). Device ID's may change more frequently in the future if the geographic region is further confined (East Europe <-> West Europe).
Line 140: Line 140:
Nack Message:
Nack Message:


<code>
<pre>
Type: Nack
Type: Nack
Metadata:
Metadata:
   MessageID: ce3488ea-cf7c-41c3-8110-9907b1fe80e8
   MessageID: ce3488ea-cf7c-41c3-8110-9907b1fe80e8
   DeviceID: AABCDC-550e8400-e29b-41d4-a716-446655440000
   DeviceID: AABCDC-550e8400-e29b-41d4-a716-446655440000
</code>
</pre>


It's safe to assume if a try at least 5m later failed, the client is offline.
It's safe to assume if a try at least 5m later failed, the client is offline.
Confirmed users
192

edits