Module Jabber
In: session.rb
protocol.rb
vcard.rb
roster.rb
jid.rb
jabber4r.rb

The Jabber module is the main namespace for all Jabber modules and classes.

Methods

Classes and Modules

Module Jabber::Protocol
Class Jabber::AutoSubscriptionHandler
Class Jabber::JID
Class Jabber::JabberConnectionException
Class Jabber::Roster
Class Jabber::Session
Class Jabber::Subscription
Class Jabber::SubscriptionHandler
Class Jabber::VCard

Constants

HEX = "0123456789abcdef"
VERSION_MAJOR = 0
VERSION_MINOR = 6
RELEASE = 0
DEBUG = false

Public Class methods

Generates a random id as a hex string

prefix:[String="Jabber4R_] The prefix for the random hex data
length:[Integer=16] The number of hex characters
return:[String] The random id

Generates a random hex string in the following format:

  JRR_01234567
return:[String] The resource id

Generates a random thread as a hex string in the following format:

  JRT_01234567890123456789
return:[String] The thread id

[Validate]