struct Apps::Connect
- Apps::Connect
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Apps/CATS_Connect.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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 Summary
Instance Method Summary
- #[](key : String)
- #accepted : Accepted | Nil
- #accepted=(accepted : Accepted | Nil)
- #connected : Connected | Nil
- #connected=(connected : Connected | Nil)
- #disconnect : Disconnect | Nil
- #disconnect=(disconnect : Disconnect | Nil)
- #from_client : FromClient | Nil
- #from_client=(from_client : FromClient | Nil)
- #to_app : ToApp | Nil
- #to_app=(to_app : ToApp | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
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)
#