crossbario / crossbar

Crossbar.io - WAMP application router
https://crossbar.io/
Other
2.05k stars 274 forks source link

MQTT: session resumption #892

Open oberstet opened 8 years ago

oberstet commented 8 years ago

The following a relevant bits extracted from the MQTT spec.


Network Connection - A construct provided by the underlying transport protocol that is being used by MQTT:

The MQTT protocol requires an underlying transport that provides an ordered, lossless, stream of bytes from the Client to Server and Server to Client.

Client - A program or device that uses MQTT. A Client always establishes the Network Connection to the Server.

Server - A program or device that acts as an intermediary between Clients which publish Application Messages and Clients which have made Subscriptions.

Session - A stateful interaction between a Client and a Server. Some Sessions last only as long as the Network Connection, others can span multiple consecutive Network Connections between a Client and a Server.

The Client Identifier (ClientId) identifies the Client to the Server. Each Client connecting to the Server has a unique ClientId. The ClientId MUST be used by Clients and by Servers to identify state that they hold relating to this MQTT Session between the Client and the Server [MQTT-3.1.3-2].

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37996236-mqtt-session-resumption?utm_campaign=plugin&utm_content=tracker%2F462544&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F462544&utm_medium=issues&utm_source=github).
hawkowl commented 8 years ago

Relevant WAMP ticket & spec sketch: https://github.com/wamp-proto/wamp-proto/issues/260