Message sent to indicate a client has connected to the server
export interface IConnected
|checkpointSequenceNumber||number||Last known sequence number to ordering service at the time of connection It may lap actual last sequence number (quite a bit, if container is very active). But it's best information for client to figure out how far it is behind, at least for "read" connections. "write" connections may use own "join" op to similar information, that is likely to be more up-to-date.|
|claims||ITokenClaims||Claims for the client|
|clientId||string||The client who is sending the message|
|epoch||string||Represents the version of document at server.|
|existing||boolean||Whether or not this is an existing document|
|initialClients||ISignalClient||Prior clients already connected.|
|initialMessages||ISequencedDocumentMessage||Messages sent during the connection|
|initialSignals||ISignalMessage||Signals sent during the connection|
|maxMessageSize||number||Maximum size of a message before chunking is required|
|mode||ConnectionMode||Connection mode of client.|
|nonce||string||An optional nonce used during connection to identify connection attempts|
|serviceConfiguration||IClientConfiguration||Configuration details provided by the service|
|supportedVersions||string||List of protocol versions supported by the server|
|version||string||Protocol version selected by the server to communicate with the client|
Last known sequence number to ordering service at the time of connection It may lap actual last sequence number (quite a bit, if container is very active). But it’s best information for client to figure out how far it is behind, at least for “read” connections. “write” connections may use own “join” op to similar information, that is likely to be more up-to-date.
Claims for the client
The client who is sending the message
Represents the version of document at server.
Whether or not this is an existing document
Prior clients already connected.
Messages sent during the connection
Signals sent during the connection
Maximum size of a message before chunking is required
Connection mode of client.
An optional nonce used during connection to identify connection attempts
Configuration details provided by the service
List of protocol versions supported by the server
Protocol version selected by the server to communicate with the client