HandshakeSerializer

interface HandshakeSerializer<T : HandshakeMessage>

High-level serializer for handshake messages.

Functions

Link copied to clipboard
abstract fun deserialize(data: QVariantMap): T

Deserialize a handshake message from a QVariantMap

Link copied to clipboard
abstract fun serialize(data: T): QVariantMap

Serialize a handshake message into a QVariantMap (for further serialization)

Properties

Link copied to clipboard
abstract val type: String

The underlying handshake message type this serializer can (de-)serialize. Used for type-safe serializer autodiscovery.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard