Module disco
[hide private]
[frames] | no frames]

Module disco

source code

Classes [hide private]
  CacheDictionary
A dictionary that keeps items around for only a specific time.
  Closure
A weak reference to a callback with arguments as an object.
  ServicesCache
Class that caches our query results.
  ServiceDiscoveryWindow
Class that represents the Services Discovery window.
  AgentBrowser
Class that deals with browsing agents and appearance of the browser window.
  ToplevelAgentBrowser
This browser is used at the top level of a jabber server to browse services such as transports, conference servers, etc.
  MucBrowser
  DiscussionGroupsBrowser
For browsing pubsub-based discussion groups service.
Functions [hide private]
 
_gen_agent_type_info() source code
 
get_agent_address(jid, node=None)
Returns an agent's address for displaying in the GUI.
source code
 
PubSubBrowser(account, jid, node)
Returns an AgentBrowser subclass that will display service discovery for particular pubsub service.
source code
Variables [hide private]
  _cat_to_descr = {'other':(_('Others'), 2), 'gateway':(_('Trans...
  _icon_cache = CacheDictionary(15)
  _agent_type_info = _gen_agent_type_info()

Imports: os, types, weakref, gobject, gtk, pango, dialogs, tooltips, gtkgui_helpers, groups, adhoc_commands, search_window, gajim, xmpp, GajimGeneralException, helpers


Function Details [hide private]

_gen_agent_type_info()

source code 

get_agent_address(jid, node=None)

source code 
Returns an agent's address for displaying in the GUI.

PubSubBrowser(account, jid, node)

source code 
Returns an AgentBrowser subclass that will display service discovery for particular pubsub service. Different pubsub services may need to present different data during browsing.

Variables Details [hide private]

_cat_to_descr

Value:
{'other':(_('Others'), 2), 'gateway':(_('Transports'), 0), '_jid':(_('\
Transports'), 0), 'conference':(_('Conference'), 1),}

_icon_cache

Value:
CacheDictionary(15)

_agent_type_info

Value:
_gen_agent_type_info()