struct LavinMQ::Message

Overview

Messages from publishers, read from socket and then written to mmap files

Defined in:

lavinmq/message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(timestamp : Int64, exchange_name : String, routing_key : String, properties : AMQ::Protocol::Properties, bodysize : UInt64, body_io : IO) #

[View source]
def self.new(exchange_name : String, routing_key : String, body : String, properties : AMQ::Protocol::Properties = AMQ::Protocol::Properties.new) #

[View source]

Instance Method Detail

def body_io : IO #

[View source]
def bodysize : UInt64 #

[View source]
def bytesize #

[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 timestamp=(timestamp : Int64) #

[View source]
def to_io(io : IO, format = IO::ByteFormat::SystemEndian) #

[View source]