struct MUX::FromClient

Included Modules

Defined in:

pb-MUX/CATS_Connect.pb.cr

Constant Summary

FIELDS = {1 => {name: :new_conn, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :client, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 3 => {name: :version, pb_type: Version, crystal_type: Version, cast_type: Version, native: false, optional: false, repeated: false, default: nil, packed: false}, 4 => {name: :agent_name, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 5 => {name: :pc_name, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(new_conn : Int32, client : String, version : Version, agent_name : String, pc_name : String) #

def self.new(buf : Protobuf::Buffer) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def agent_name : String #

def agent_name=(agent_name : String) #

def client : String #

def client=(client : String) #

def new_conn : Int32 #

def new_conn=(new_conn : Int32) #

def pc_name : String #

def pc_name=(pc_name : String) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def version : Version #

def version=(version : Version) #