server library

Server library for CRDT Socket Sync

Classes

ChangeMessage
Message containing a CRDT change.
ClientSession
Client session on server
CompressedCodec<T>
Codec for messages with optional compression
Compressor
Interface for data compression
CRDTServerRegistry
Class managing the CRDT document registry on the server.
CRDTSocketServer
CRDT socket server interface
DocumentStatusMessage
Message containing a full snapshot.
DocumentStatusRequestMessage
Snapshot request message sent from client to server.
ErrorMessage
Error message.
HandshakeRequestMessage
Handshake request message sent from client to server.
HandshakeResponseMessage
Handshake response message sent from server to client.
JsonMessageCodec<T>
JSON message codec
Message
Base class for all messages exchanged between server and client.
MessageCodec<T>
Interface for encoding and decoding messages
NoCompression
No compression implementation
PingMessage
Ping message to check the connection.
PongMessage
Pong message.
Protocol
Class that handles the communication protocol.
ServerEvent
Class representing a server event
SessionEvent
Session event
SessionEventChangeApplied
Session event for a change received
SessionEventGeneric
Session event for a generic event
Transport
An interface for transporting messages, define the methods necessary to send and receive messages, independently from the underlying transport mechanism.
TransportConnection
An interface for transporting messages, define the methods necessary to send and receive messages, independently from the underlying transport mechanism.
TransportConnector
An interface for the transport connection

Enums

MessageType
Available message types
ServerEventType
Enum representing the server event types
SessionEventType
Available session events