class AMQProxy::Client

Defined in:

amqproxy/client.cr

Constant Summary

Log = ::Log.for(self)
ServerProperties = AMQ::Protocol::Table.new({product: "AMQProxy", version: VERSION, capabilities: {consumer_priorities: true, exchange_exchange_bindings: true, "connection.blocked": true, authentication_failure_close: true, per_consumer_qos: true, "basic.nack": true, direct_reply_to: true, publisher_confirms: true, consumer_cancel_notify: true}})

Constructors

Instance Method Summary

Constructor Detail

def self.new(socket : TCPSocket) #

[View source]

Instance Method Detail

def close #

[View source]
def close_channel(id, code, reason) #

[View source]
def close_connection(code, text, frame = nil) #

[View source]
def close_socket #

[View source]
def credentials : Credentials #

[View source]
def read_loop(channel_pool, socket = @socket) #

frames from enduser


[View source]
def write(frame : AMQ::Protocol::Frame) #

Send frame to client, channel id should already be remapped by the caller


[View source]