enum

XMPP::ConnectionState

Inherits Enum / Comparable / Value / Object

ConnectionState represents the current connection state. This is a list of events happening on the connection that the client can be notified about.

Constants

Disconnected = 0
Connected = 1
SessionEstablished = 2
StreamError = 3
Connecting = 4
Disconnecting = 5

Instance methods

connected?

Returns true if this enum value equals Connected

Source
connecting?

Returns true if this enum value equals Connecting

Source
disconnected?

Returns true if this enum value equals Disconnected

Source
disconnecting?

Returns true if this enum value equals Disconnecting

Source
session_established?

Returns true if this enum value equals SessionEstablished

Source
stream_error?

Returns true if this enum value equals StreamError

Source