class LavinMQ::AMQP::ConnectionFactory

Defined in:

lavinmq/amqp/connection_factory.cr

Constant Summary

Log = LavinMQ::Log.for("amqp.connection_factory")
LOW_FRAME_MAX_RANGE = 1...MIN_FRAME_MAX
MIN_FRAME_MAX = 4096_u32
SERVER_PROPERTIES = AMQP::Table.new({product: "LavinMQ", platform: "Crystal #{Crystal::VERSION}", version: LavinMQ::VERSION, capabilities: {publisher_confirms: true, exchange_exchange_bindings: true, "basic.nack": true, consumer_cancel_notify: true, "connection.blocked": true, consumer_priorities: true, authentication_failure_close: true, per_consumer_qos: true, direct_reply_to: true}})

Constructors

Instance Method Summary

Constructor Detail

def self.new(authenticator : Auth::Authenticator, vhosts : VHostStore) #

[View source]

Instance Method Detail

def authenticate(socket, remote_address, start_ok, log) #

[View source]
def confirm_header(socket, log : Logger) : Bool #

[View source]
def credentials(start_ok) #

[View source]
def open(socket, user, log) #

[View source]
def start(socket, log : Logger) #

[View source]
def start(socket, connection_info) : Client | Nil #

[View source]
def tune(socket, log) #

[View source]