struct
Session::ClusterMessage
- Session::ClusterMessage
- Struct
- Value
- Object
Overview
Message structure for cluster communication
Included Modules
- JSON::Serializable
Defined in:
cluster.crConstructors
- .new(type : ClusterMessageType, session_id : String, node_id : String, timestamp : Time = Time.utc)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #node_id : String
- #node_id=(node_id : String)
- #session_id : String
- #session_id=(session_id : String)
- #timestamp : Time
- #timestamp=(timestamp : Time)
- #type : ClusterMessageType
- #type=(type : ClusterMessageType)
Constructor Detail
def self.new(type : ClusterMessageType, session_id : String, node_id : String, timestamp : Time = Time.utc)
#