class XMPP::StreamManager

Overview

StreamManager supervises an XMPP client connection. Its role is to handle connection events and apply reconnection strategy.

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new(client, retry_count = 5, post_connect = nil) #

Instance Method Detail

def run : Nil #

run launches the connection of the underlying client or component and wait until disconnect is called, or for the manager to terminate due to an unrecoverable exception


def stop #

stop cancels pending operations and terminates existing XMPP client.