class LavinMQ::Federation::Upstream::ExchangeLink

Included Modules

Defined in:

lavinmq/federation/link.cr

Constructors

Instance Method Summary

Instance methods inherited from module LavinMQ::Observer(LavinMQ::ExchangeEvent)

on(event : EventT, data : Object | Nil) on

Instance methods inherited from class LavinMQ::Federation::Upstream::Link

details_tuple details_tuple, error : String? error, last_changed : Int64? last_changed, name : String name, run run, state : LavinMQ::Federation::Upstream::Link::State state, terminate terminate

Constructor methods inherited from class LavinMQ::Federation::Upstream::Link

new(upstream : Upstream) new

Instance methods inherited from module LavinMQ::SortableJSON

details_tuple details_tuple, to_json(json : JSON::Builder) to_json

Constructor Detail

def self.new(upstream : Upstream, federated_ex : Exchange, upstream_q : String, upstream_exchange : String) #

[View source]

Instance Method Detail

def name : String #

[View source]
def on(event : ExchangeEvent, data) #

[View source]
def terminate #
Description copied from class LavinMQ::Federation::Upstream::Link

Does not trigger reconnect, but a graceful close


[View source]