struct AMQ::Protocol::Frame::Header
- AMQ::Protocol::Frame::Header
- AMQ::Protocol::Frame
- Struct
- Value
- Object
Defined in:
amq/protocol/frames.crConstant Summary
-
TYPE =
2_u8
Constructors
Class Method Summary
Instance Method Summary
- #body_size : UInt64
- #class_id : UInt16
- #properties : AMQ::Protocol::Properties
- #to_io(io : IO, format : IO::ByteFormat)
- #type : UInt8
- #weight : UInt16
Instance methods inherited from struct AMQ::Protocol::Frame
bytesize : UInt32
bytesize,
channel : UInt16
channel,
to_io(io : IO, format : IO::ByteFormat)
to_io,
to_slice(format = IO::ByteFormat::SystemEndian) : Bytes
to_slice,
type : UInt8
type,
wrap(io, format : IO::ByteFormat, &) : Nil
wrap
Constructor methods inherited from struct AMQ::Protocol::Frame
new(channel : UInt16, bytesize : UInt32)
new
Class methods inherited from struct AMQ::Protocol::Frame
from_io(io, format = IO::ByteFormat::NetworkEndian, & : Frame -> _)
from_io
Constructor Detail
def self.new(channel : UInt16, class_id : UInt16, weight : UInt16, body_size : UInt64, properties : Properties, bytesize : UInt32 | Nil = nil)
#