struct Apps::Broadcast
- Apps::Broadcast
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Apps/CATS_Broadcast.pb.crConstant Summary
-
FIELDS =
{1 => {name: :message_type, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :conn_list, pb_type: :int32, crystal_type: Int32, cast_type: Array(Int32)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 100 => {name: :call_action, pb_type: CallAction, crystal_type: CallAction, cast_type: CallAction?, native: false, optional: true, repeated: false, default: nil, packed: false}, 101 => {name: :call_journal, pb_type: CallJournal, crystal_type: CallJournal, cast_type: CallJournal?, native: false, optional: true, repeated: false, default: nil, packed: false}, 103 => {name: :ext_status, pb_type: ExtStatus, crystal_type: ExtStatus, cast_type: ExtStatus?, native: false, optional: true, repeated: false, default: nil, packed: false}, 105 => {name: :live_message, pb_type: LiveMessage, crystal_type: LiveMessage, cast_type: LiveMessage?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(message_type : Int32, conn_list : Array(Int32) | Nil = nil, call_action : CallAction | Nil = nil, call_journal : CallJournal | Nil = nil, ext_status : ExtStatus | Nil = nil, live_message : LiveMessage | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #call_action : CallAction | Nil
- #call_action=(call_action : CallAction | Nil)
- #call_journal : CallJournal | Nil
- #call_journal=(call_journal : CallJournal | Nil)
- #conn_list : Array(Int32) | Nil
- #conn_list=(conn_list : Array(Int32) | Nil)
- #ext_status : ExtStatus | Nil
- #ext_status=(ext_status : ExtStatus | Nil)
- #live_message : LiveMessage | Nil
- #live_message=(live_message : LiveMessage | Nil)
- #message_type : Int32
- #message_type=(message_type : Int32)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(message_type : Int32, conn_list : Array(Int32) | Nil = nil, call_action : CallAction | Nil = nil, call_journal : CallJournal | Nil = nil, ext_status : ExtStatus | Nil = nil, live_message : LiveMessage | Nil = nil)
#