struct Session::ClusterMessage

Overview

Message structure for cluster communication

Included Modules

Defined in:

cluster.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : ClusterMessageType, session_id : String, node_id : String, timestamp : Time = Time.utc) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def node_id : String #

[View source]
def node_id=(node_id : String) #

[View source]
def session_id : String #

[View source]
def session_id=(session_id : String) #

[View source]
def timestamp : Time #

[View source]
def timestamp=(timestamp : Time) #

[View source]
def type : ClusterMessageType #

[View source]
def type=(type : ClusterMessageType) #

[View source]