XMPP::Stanza::Presence
Inherits XMPP::Stanza::Attrs / XMPP::Stanza::Packet / XMPP::Stanza::Extension / XMPP::Stanza::Packet / Reference / Object
Presence Packet Presence implements RFC 6120 - A.5 Client Namespace (a part) Presence stanzas are used to express an entity's current network availability (offline or online, along with various sub-states of the latter and optional user-defined descriptive text), and to notify other entities of that availability. Presence stanzas are also used to negotiate and manage subscriptions to the presence of other entities.
Constructors
Class methods
xml_name
SourceInstance methods
error
Sourceerror=(error : Error | Nil)
Sourceextensions
Sourceget(type : PresExtension.class)
get search and extracts a specific extension on a presence stanza. it will return extension instance if found on stanza else return nil
name
Sourcepriority
Sourceshow
Sourcestatus
Sourceto_xml(xml : XML::Builder)
Source