### Home Classes Methods

### In Files

- lib/xmpp4r/delay/x/delay.rb
- lib/xmpp4r/client.rb
- lib/xmpp4r/query.rb
- lib/xmpp4r/location/location.rb
- lib/xmpp4r/location/helper/helper.rb
- lib/xmpp4r/framework/base.rb
- lib/xmpp4r/framework/bot.rb
- lib/xmpp4r/bytestreams/iq/si.rb
- lib/xmpp4r/bytestreams/iq/bytestreams.rb
- lib/xmpp4r/bytestreams/helper/socks5bytestreams/server.rb
- lib/xmpp4r/bytestreams/helper/socks5bytestreams/base.rb
- lib/xmpp4r/bytestreams/helper/socks5bytestreams/socks5.rb
- lib/xmpp4r/bytestreams/helper/socks5bytestreams/initiator.rb
- lib/xmpp4r/bytestreams/helper/socks5bytestreams/target.rb
- lib/xmpp4r/bytestreams/helper/filetransfer.rb
- lib/xmpp4r/bytestreams/helper/ibb/base.rb
- lib/xmpp4r/bytestreams/helper/ibb/initiator.rb
- lib/xmpp4r/bytestreams/helper/ibb/target.rb
- lib/xmpp4r/message.rb
- lib/xmpp4r/rpc/helper/client.rb
- lib/xmpp4r/rpc/helper/server.rb
- lib/xmpp4r/rpc/iq/rpc.rb
- lib/xmpp4r/dataforms/x/data.rb
- lib/xmpp4r/jid.rb
- lib/xmpp4r/sasl.rb
- lib/xmpp4r/command/iq/command.rb
- lib/xmpp4r/command/helper/responder.rb
- lib/xmpp4r/callbacks.rb
- lib/xmpp4r/idgenerator.rb
- lib/xmpp4r/component.rb
- lib/xmpp4r/xhtml/html.rb
- lib/xmpp4r/discovery/iq/discoinfo.rb
- lib/xmpp4r/discovery/iq/discoitems.rb
- lib/xmpp4r/discovery/helper/helper.rb
- lib/xmpp4r/discovery/helper/responder.rb
- lib/xmpp4r/tune/helper/helper.rb
- lib/xmpp4r/tune/tune.rb
- lib/xmpp4r/errors.rb
- lib/xmpp4r/reliable.rb
- lib/xmpp4r/vcard/helper/vcard.rb
- lib/xmpp4r/vcard/iq/vcard.rb
- lib/xmpp4r/xmppstanza.rb
- lib/xmpp4r/xmpp4r.rb
- lib/xmpp4r/semaphore.rb
- lib/xmpp4r/xmppelement.rb
- lib/xmpp4r/x.rb
- lib/xmpp4r/muc/item.rb
- lib/xmpp4r/muc/x/muc.rb
- lib/xmpp4r/muc/x/mucuserinvite.rb
- lib/xmpp4r/muc/x/mucuseritem.rb
- lib/xmpp4r/muc/iq/mucowner.rb
- lib/xmpp4r/muc/iq/mucadminitem.rb
- lib/xmpp4r/muc/iq/mucadmin.rb
- lib/xmpp4r/muc/helper/simplemucclient.rb
- lib/xmpp4r/muc/helper/mucclient.rb
- lib/xmpp4r/muc/helper/mucbrowser.rb
- lib/xmpp4r/debuglog.rb
- lib/xmpp4r/presence.rb
- lib/xmpp4r/streamparser.rb
- lib/xmpp4r/observable/helper.rb
- lib/xmpp4r/observable/subscription.rb
- lib/xmpp4r/observable/pubsub.rb
- lib/xmpp4r/observable/contact.rb
- lib/xmpp4r/last/helper/helper.rb
- lib/xmpp4r/last/iq/last.rb
- lib/xmpp4r/stream.rb
- lib/xmpp4r/connection.rb
- lib/xmpp4r/caps/helper/helper.rb
- lib/xmpp4r/caps/helper/generator.rb
- lib/xmpp4r/caps/c.rb
- lib/xmpp4r/feature_negotiation/iq/feature.rb
- lib/xmpp4r/iq.rb
- lib/xmpp4r/version/iq/version.rb
- lib/xmpp4r/version/helper/simpleresponder.rb
- lib/xmpp4r/version/helper/responder.rb
- lib/xmpp4r/roster/iq/roster.rb
- lib/xmpp4r/roster/x/roster.rb
- lib/xmpp4r/roster/helper/roster.rb
- lib/xmpp4r/test/listener_mocker.rb
- lib/xmpp4r/pubsub/children/items.rb
- lib/xmpp4r/pubsub/children/event.rb
- lib/xmpp4r/pubsub/children/retract.rb
- lib/xmpp4r/pubsub/children/item.rb
- lib/xmpp4r/pubsub/children/configuration.rb
- lib/xmpp4r/pubsub/children/unsubscribe.rb
- lib/xmpp4r/pubsub/children/subscription_config.rb
- lib/xmpp4r/pubsub/children/publish.rb
- lib/xmpp4r/pubsub/children/node_config.rb
- lib/xmpp4r/pubsub/children/subscription.rb
- lib/xmpp4r/pubsub/helper/servicehelper.rb
- lib/xmpp4r/pubsub/helper/oauth_service_helper.rb
- lib/xmpp4r/pubsub/helper/nodehelper.rb
- lib/xmpp4r/pubsub/helper/nodebrowser.rb
- lib/xmpp4r/pubsub/iq/pubsub.rb
- lib/xmpp4r/httpbinding/client.rb

### Namespace

- MODULE Jabber::Bytestreams
- MODULE Jabber::Caps
- MODULE Jabber::Command
- MODULE Jabber::Dataforms
- MODULE Jabber::Delay
- MODULE Jabber::Discovery
- MODULE Jabber::EntityTime
- MODULE Jabber::FeatureNegotiation
- MODULE Jabber::FileTransfer
- MODULE Jabber::Framework
- MODULE Jabber::HTTPBinding
- MODULE Jabber::LastActivity
- MODULE Jabber::MUC
- MODULE Jabber::PubSub
- MODULE Jabber::RPC
- MODULE Jabber::Reliable
- MODULE Jabber::Roster
- MODULE Jabber::SASL
- MODULE Jabber::Test
- MODULE Jabber::UserLocation
- MODULE Jabber::UserTune
- MODULE Jabber::Vcard
- MODULE Jabber::Version
- MODULE Jabber::XHTML
- MODULE Jabber::XParent
- CLASS Jabber::ArgumentError
- CLASS Jabber::Callback
- CLASS Jabber::CallbackList
- CLASS Jabber::Client
- CLASS Jabber::ClientAuthenticationFailure
- CLASS Jabber::Component
- CLASS Jabber::ComponentAuthenticationFailure
- CLASS Jabber::Connection
- CLASS Jabber::ErrorResponse
- CLASS Jabber::IdGenerator
- CLASS Jabber::InvalidChatState
- CLASS Jabber::Iq
- CLASS Jabber::IqQuery
- CLASS Jabber::JID
- CLASS Jabber::JabberError
- CLASS Jabber::Message
- CLASS Jabber::NoNameXmlnsRegistered
- CLASS Jabber::NotConnected
- CLASS Jabber::Observable
- CLASS Jabber::Presence
- CLASS Jabber::SOCKS5Error
- CLASS Jabber::Semaphore
- CLASS Jabber::ServerDisconnected
- CLASS Jabber::Stream
- CLASS Jabber::StreamParser
- CLASS Jabber::X
- CLASS Jabber::XMPPElement
- CLASS Jabber::XMPPStanza

### Methods

- ::debug
- ::debug=
- ::debuglog
- ::logger
- ::logger=
- ::warnings=
- ::warnlog

### Files

- CHANGELOG
- COPYING
- LICENSE
- README.rdoc
- README_ruby19.txt

### Class/Module Index

Quicksearch

- Jabber
- Jabber::ArgumentError
- Jabber::Bytestreams
- Jabber::Bytestreams::IBB
- Jabber::Bytestreams::IBBInitiator
- Jabber::Bytestreams::IBBQueueItem
- Jabber::Bytestreams::IBBTarget
- Jabber::Bytestreams::IqQueryBytestreams
- Jabber::Bytestreams::IqSi
- Jabber::Bytestreams::IqSiFile
- Jabber::Bytestreams::IqSiFileRange
- Jabber::Bytestreams::SOCKS5Bytestreams
- Jabber::Bytestreams::SOCKS5BytestreamsInitiator
- Jabber::Bytestreams::SOCKS5BytestreamsPeer
- Jabber::Bytestreams::SOCKS5BytestreamsServer
- Jabber::Bytestreams::SOCKS5BytestreamsServerStreamHost
- Jabber::Bytestreams::SOCKS5BytestreamsTarget
- Jabber::Bytestreams::SOCKS5Socket
- Jabber::Bytestreams::StreamHost
- Jabber::Bytestreams::StreamHostUsed
- Jabber::Callback
- Jabber::CallbackList
- Jabber::Caps
- Jabber::Caps::C
- Jabber::Caps::Helper
- Jabber::Client
- Jabber::ClientAuthenticationFailure
- Jabber::Command
- Jabber::Command::IqCommand
- Jabber::Command::Responder
- Jabber::Component
- Jabber::ComponentAuthenticationFailure
- Jabber::Connection
- Jabber::Connection::SSLSocketUTF8
- Jabber::Dataforms
- Jabber::Dataforms::XData
- Jabber::Dataforms::XDataField
- Jabber::Dataforms::XDataInstructions
- Jabber::Dataforms::XDataReported
- Jabber::Dataforms::XDataTitle
- Jabber::Delay
- Jabber::Delay::XDelay
- Jabber::Discovery
- Jabber::Discovery::Feature
- Jabber::Discovery::Helper
- Jabber::Discovery::Identity
- Jabber::Discovery::IqQueryDiscoInfo
- Jabber::Discovery::IqQueryDiscoItems
- Jabber::Discovery::Item
- Jabber::Discovery::Responder
- Jabber::EntityTime
- Jabber::EntityTime::IqTime
- Jabber::EntityTime::Responder
- Jabber::ErrorResponse
- Jabber::FeatureNegotiation
- Jabber::FeatureNegotiation::IqFeature
- Jabber::FileTransfer
- Jabber::FileTransfer::FileSource
- Jabber::FileTransfer::Helper
- Jabber::FileTransfer::TransferSource
- Jabber::Framework
- Jabber::Framework::Base
- Jabber::Framework::Bot
- Jabber::HTTPBinding
- Jabber::HTTPBinding::Client
- Jabber::IdGenerator
- Jabber::InvalidChatState
- Jabber::Iq
- Jabber::IqQuery
- Jabber::JID
- Jabber::JabberError
- Jabber::LastActivity
- Jabber::LastActivity::Helper
- Jabber::LastActivity::IqQueryLastActivity
- Jabber::MUC
- Jabber::MUC::IqQueryMUCAdmin
- Jabber::MUC::IqQueryMUCAdminItem
- Jabber::MUC::IqQueryMUCOwner
- Jabber::MUC::MUCBrowser
- Jabber::MUC::MUCClient
- Jabber::MUC::SimpleMUCClient
- Jabber::MUC::UserItem
- Jabber::MUC::XMUC
- Jabber::MUC::XMUCUser
- Jabber::MUC::XMUCUserInvite
- Jabber::MUC::XMUCUserItem
- Jabber::Message
- Jabber::NoNameXmlnsRegistered
- Jabber::NotConnected
- Jabber::Observable
- Jabber::Observable::Contact
- Jabber::Observable::PubSub
- Jabber::Observable::PubSub::AlreadySet
- Jabber::Observable::PubSub::NoService
- Jabber::Observable::Subscriptions
- Jabber::Presence
- Jabber::PubSub
- Jabber::PubSub::Configuration
- Jabber::PubSub::Event
- Jabber::PubSub::EventItem
- Jabber::PubSub::EventItems
- Jabber::PubSub::IqPubSub
- Jabber::PubSub::IqPubSubOwner
- Jabber::PubSub::Item
- Jabber::PubSub::Items
- Jabber::PubSub::NodeBrowser
- Jabber::PubSub::NodeConfig
- Jabber::PubSub::NodeHelper
- Jabber::PubSub::OAuthPubSubStreamHelper
- Jabber::PubSub::OAuthServiceHelper
- Jabber::PubSub::OwnerNodeConfig
- Jabber::PubSub::Publish
- Jabber::PubSub::Retract
- Jabber::PubSub::ServiceHelper
- Jabber::PubSub::Subscription
- Jabber::PubSub::SubscriptionConfig
- Jabber::PubSub::Unsubscribe
- Jabber::RPC
- Jabber::RPC::Client
- Jabber::RPC::IqQueryRPC
- Jabber::RPC::Server
- Jabber::Reliable
- Jabber::Reliable::Connection
- Jabber::Reliable::Listener
- Jabber::Roster
- Jabber::Roster::Helper
- Jabber::Roster::Helper::RosterItem
- Jabber::Roster::IqQueryRoster
- Jabber::Roster::RosterItem
- Jabber::Roster::RosterX
- Jabber::Roster::RosterXItem
- Jabber::Roster::XRoster
- Jabber::Roster::XRosterItem
- Jabber::SASL
- Jabber::SASL::Anonymous
- Jabber::SASL::Base
- Jabber::SASL::DigestMD5
- Jabber::SASL::Plain
- Jabber::SOCKS5Error
- Jabber::Semaphore
- Jabber::ServerDisconnected
- Jabber::Stream
- Jabber::Stream::ThreadBlock
- Jabber::StreamParser
- Jabber::Test
- Jabber::Test::ListenerMocker
- Jabber::UserLocation
- Jabber::UserLocation::Helper
- Jabber::UserLocation::Location
- Jabber::UserTune
- Jabber::UserTune::Helper
- Jabber::UserTune::Tune
- Jabber::Vcard
- Jabber::Vcard::Helper
- Jabber::Vcard::IqVcard
- Jabber::Version
- Jabber::Version::IqQueryVersion
- Jabber::Version::Responder
- Jabber::Version::SimpleResponder
- Jabber::X
- Jabber::XHTML
- Jabber::XHTML::Body
- Jabber::XHTML::HTML
- Jabber::XMPPElement
- Jabber::XMPPStanza
- Jabber::XParent
- REXML
- REXML::Element
- REXML::IOSource
- XMLRPC
- XMLRPC::Create
- Base64
- ObservableThing
- QObserver
- ThreadStore

No matching classes.

# Jabber

# XMPP4R - XMPP Library for Ruby

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

# XMPP4R - XMPP Library for Ruby

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

# XMPP4R - XMPP Library for Ruby

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

# XMPP4R - XMPP Library for Ruby

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

# XMPP4R - XMPP Library for Ruby

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

# XMPP4R - XMPP Library for Ruby

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

# XMPP4R - XMPP Library for Ruby

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

# XMPP4R - XMPP Library for Ruby

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

# XMPP4R - XMPP Library for Ruby

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

The Jabber module is the root namespace of the library.

# XMPP4R - XMPP Library for Ruby

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

# XMPP4R - XMPP Library for Ruby

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

# XMPP4R - XMPP Library for Ruby

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

# XMPP4R - XMPP Library for Ruby

This file's copyright (c) 2009 by Pablo Lorenzzoni <pablo@propus.com.br>

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

# XMPP4R - XMPP Library for Ruby

This file's copyright (c) 2009 by Pablo Lorenzzoni <pablo@propus.com.br>

License | Ruby's license (see the LICENSE file) or GNU GPL, at your option.

Website::http://xmpp4r.github.io

### Constants

XMPP4R_VERSION

  XMPP4R Version number. This is the ONLY place where the version number should be specified. This constant is used to determine the version of package tarballs and generated gems.

### Public Class Methods

debug() click to toggle source

returns true if debugging mode is enabled. If you just want to log something if debugging is enabled, use Jabber::debuglog instead.

    # File lib/xmpp4r/debuglog.rb, line 45
    def Jabber::debug
      @@debug
    end

debug=(debug) click to toggle source

Enable/disable debugging mode. When debug mode is enabled, information can be logged using Jabber::debuglog. When debug mode is disabled, calls to Jabber::debuglog are just ignored.

    # File lib/xmpp4r/debuglog.rb, line 26
    def Jabber::debug=(debug)
      @@debug = debug
      if @@debug
        debuglog('Debugging mode enabled.')
        #if debug is enabled, we should automatically enable warnings too
        Jabber::warnings = true
      end
    end

debuglog(string) click to toggle source

Outputs a string only if debugging mode is enabled. If the string includes several lines, 4 spaces are added at the beginning of each line but the first one. Time is prepended to the string.

    # File lib/xmpp4r/debuglog.rb, line 52
    def Jabber::debuglog(string)
      return if not @@debug
      logger.debug string.chomp.gsub("\n", "\n    ")
    end

logger() click to toggle source

    # File lib/xmpp4r/debuglog.rb, line 8
    def Jabber::logger
      @@logger ||= Logger.new($stderr)
    end

logger=(logger) click to toggle source

Set the logger to use for debug and warn (if enabled)

    # File lib/xmpp4r/debuglog.rb, line 13
    def Jabber::logger=(logger)
      @@logger = logger
    end

warnings=(warnings) click to toggle source

Enable/disable warnings mode.

    # File lib/xmpp4r/debuglog.rb, line 36
    def Jabber::warnings=(warnings)
      @@warnings = warnings
      if @@warnings
        warnlog('Warnings mode enabled.')
      end
    end

warnlog(string) click to toggle source

Outputs a string only if warnings mode is enabled.

    # File lib/xmpp4r/debuglog.rb, line 58
    def Jabber::warnlog(string)
      return if not @@warnings
      logger.warn string.chomp.gsub("\n", "\n    ")
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.