struct LavinMQ::BytesMessage

Overview

Messages read from message store (mmap filed) and being delivered to consumers

Defined in:

lavinmq/message.cr

Constant Summary

MIN_BYTESIZE = ((((8 + 1) + 1) + 2) + 8) + 1

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.from_bytes(bytes, format = IO::ByteFormat::SystemEndian) : self #

[View source]
def self.new(timestamp : Int64, exchange_name : String, routing_key : String, properties : AMQ::Protocol::Properties, bodysize : UInt64, body : Bytes) #

[View source]

Class Method Detail

def self.skip(io, format = IO::ByteFormat::SystemEndian) : UInt64 #

[View source]

Instance Method Detail

def body : Slice(UInt8) #

[View source]
def bodysize : UInt64 #

[View source]
def bytesize #

[View source]
def delay : UInt32 | Nil #

[View source]
def dlrk : String | Nil #

[View source]
def dlx : String | Nil #

[View source]
def exchange_name : String #

[View source]
def properties : AMQ::Protocol::Properties #

[View source]
def routing_key : String #

[View source]
def timestamp : Int64 #

[View source]
def ttl #

[View source]