class

Sellia::Protocol::Message

Inherits MessagePack::Serializable / Reference / Object

Base class for all protocol messages Uses MessagePack's discriminator pattern for polymorphic deserialization

Constructors

Type discriminator for polymorphic deserialization This maps the "type" field value to the concrete message class

Source

Instance methods

type

Abstract method that each message type must implement

Source