struct

Session::ClusterMessage

Inherits JSON::Serializable < Struct < Value < Object

Message structure for cluster communication

Constructors

new(type : ClusterMessageType, session_id : String, node_id : String, timestamp : Time = Time.utc)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

node_id
Source
node_id=(node_id : String)
Source
session_id
Source
session_id=(session_id : String)
Source
timestamp
Source
timestamp=(timestamp : Time)
Source
type
Source
type=(type : ClusterMessageType)
Source