struct MUX::Connect

Included Modules

Defined in:

pb-MUX/CATS_Connect.pb.cr

Constant Summary

FIELDS = {1 => {name: :to_app, pb_type: ToApp, crystal_type: ToApp, cast_type: ToApp?, native: false, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :from_client, pb_type: FromClient, crystal_type: FromClient, cast_type: FromClient?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :connected, pb_type: Connected, crystal_type: Connected, cast_type: Connected?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :accepted, pb_type: Accepted, crystal_type: Accepted, cast_type: Accepted?, native: false, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :disconnect, pb_type: Disconnect, crystal_type: Disconnect, cast_type: Disconnect?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(to_app : ToApp | Nil = nil, from_client : FromClient | Nil = nil, connected : Connected | Nil = nil, accepted : Accepted | Nil = nil, disconnect : Disconnect | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def accepted : Accepted | Nil #

def accepted=(accepted : Accepted | Nil) #

def connected : Connected | Nil #

def connected=(connected : Connected | Nil) #

def disconnect : Disconnect | Nil #

def disconnect=(disconnect : Disconnect | Nil) #

def from_client : FromClient | Nil #

def from_client=(from_client : FromClient | Nil) #

def to_app : ToApp | Nil #

def to_app=(to_app : ToApp | Nil) #

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

def to_protobuf #