... | @@ -18,18 +18,26 @@ The sender sets the blog's visibility to VISIBLE when sending an invite message. |
... | @@ -18,18 +18,26 @@ The sender sets the blog's visibility to VISIBLE when sending an invite message. |
|
|
|
|
|
**1: ACCEPT** - Sent in response to an invite. The message body is a BDF list with three elements: `messageType` (int), `blogId` (unique ID), and `previousMessageId` (unique ID).
|
|
**1: ACCEPT** - Sent in response to an invite. The message body is a BDF list with three elements: `messageType` (int), `blogId` (unique ID), and `previousMessageId` (unique ID).
|
|
|
|
|
|
|
|
`previousMessageId` is the ID of the previous message in this session.
|
|
|
|
|
|
The sender sets the blog's visibility to SHARED when sending an accept message. The recipient sets the blog's visibility to SHARED when receiving an accept message.
|
|
The sender sets the blog's visibility to SHARED when sending an accept message. The recipient sets the blog's visibility to SHARED when receiving an accept message.
|
|
|
|
|
|
**2: DECLINE** - Sent in response to an invite. The message body is a BDF list with three elements: `messageType` (int), `blogId` (unique ID), and `previousMessageId` (unique ID).
|
|
**2: DECLINE** - Sent in response to an invite. The message body is a BDF list with three elements: `messageType` (int), `blogId` (unique ID), and `previousMessageId` (unique ID).
|
|
|
|
|
|
|
|
`previousMessageId` is the ID of the previous message in this session.
|
|
|
|
|
|
The inviter sets the blog's visibility to INVISIBLE when receiving a decline message.
|
|
The inviter sets the blog's visibility to INVISIBLE when receiving a decline message.
|
|
|
|
|
|
**3: LEAVE** - Sent by either party when unsubscribing from the blog, if the blog's visibility is VISIBLE or SHARED. The message body is a BDF list with three elements: `messageType` (int), `blogId` (unique ID), and `previousMessageId` (unique ID).
|
|
**3: LEAVE** - Sent by either party when unsubscribing from the blog, if the blog's visibility is VISIBLE or SHARED. The message body is a BDF list with three elements: `messageType` (int), `blogId` (unique ID), and `previousMessageId` (unique ID).
|
|
|
|
|
|
|
|
`previousMessageId` is the ID of the previous message in this session.
|
|
|
|
|
|
The sender sets the blog's visibility to INVISIBLE when sending a leave message. The recipient sets the blog's visibility to INVISIBLE when receiving a leave message.
|
|
The sender sets the blog's visibility to INVISIBLE when sending a leave message. The recipient sets the blog's visibility to INVISIBLE when receiving a leave message.
|
|
|
|
|
|
**4: ABORT** - Sent by either party when recieving a message that is valid but unexpected in the current state. The message body is a BDF list with three elements: `messageType` (int), `blogId` (unique ID), and `previousMessageId` (unique ID).
|
|
**4: ABORT** - Sent by either party when recieving a message that is valid but unexpected in the current state. The message body is a BDF list with three elements: `messageType` (int), `blogId` (unique ID), and `previousMessageId` (unique ID).
|
|
|
|
|
|
|
|
`previousMessageId` is the ID of the previous message in this session.
|
|
|
|
|
|
The sender sets the blog's visibility to INVISIBLE when sending an abort message. The recipient sets the blog's visibility to INVISIBLE when receiving an abort message.
|
|
The sender sets the blog's visibility to INVISIBLE when sending an abort message. The recipient sets the blog's visibility to INVISIBLE when receiving an abort message.
|
|
|
|
|
|
### State machine
|
|
### State machine
|
... | | ... | |