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

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

Methods

gen_random_id, gen_random_resource, gen_random_thread,
Classes and Modules

Module Jabber::Protocol
  ::Class Jabber::Protocol::Connection
  ::Class Jabber::Protocol::ExpatJabberParser
  ::Class Jabber::Protocol::Iq
  ::Class Jabber::Protocol::Message
  ::Class Jabber::Protocol::ParsedXMLElement
  ::  ::Class Jabber::Protocol::ParsedXMLElement::NilParsedXMLElement
  ::Class Jabber::Protocol::Presence
  ::Class Jabber::Protocol::REXMLJabberParser
  ::Class Jabber::Protocol::XMLElement
Class Jabber::AutoSubscriptionHandler
Class Jabber::JID
Class Jabber::JabberConnectionException
Class Jabber::Roster
  ::Class Jabber::Roster::RosterItem
  ::  ::Class Jabber::Roster::RosterItem::Resource
Class Jabber::Session
Class Jabber::Subscription
Class Jabber::SubscriptionHandler
Class Jabber::VCard

Public Class methods
gen_random_resource() src

Generates a random hex string in the following format:

  JRR_01234567
return:[String] The resource id
gen_random_thread() src

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

  JRT_01234567890123456789
return:[String] The thread id
gen_random_id(prefix="Jabber4R_", length=16) src

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