Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members  

jabberoo::DiscoDB Class Reference

DiscoDB. More...

#include <discoDB.hh>

List of all members.

Public Member Functions

DiscoDB::Item & operator[] (const std::string &jid)
 Search the cache for a JID or throw XCP_NotCached if not found.

void cache (const std::string &jid, DiscoCallbackFunc f)
 Tell the cache to go out and cache a specific jid.

void clear ()
 Cleanup the cache.

void addFilter (DiscoFilter *filter)
 Adds a new filter to the incoming data.

void removeFilter (DiscoFilter *filter)
 Remove the specified filter.


Detailed Description

DiscoDB.

Don't blame me, temas did it.

Definition at line 67 of file discoDB.hh.


Member Function Documentation

void jabberoo::DiscoDB::addFilter DiscoFilter *    filter [inline]
 

Adds a new filter to the incoming data.

As items are looked up externally they are passed through the filters. Any matching entries are then added to the specified list.

Definition at line 189 of file discoDB.hh.

DiscoDB::Item & jabberoo::DiscoDB::operator[] const std::string &    jid
 

Search the cache for a JID or throw XCP_NotCached if not found.

This will only return information for JIDs that have been directly queried. Some of these JIDs may have children attached to them, but they will not be in the DB until they are authortatively answered for by a direct query.

Definition at line 128 of file jabberoo-disco.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Jul 24 13:31:51 2003 for jabberoo by doxygen1.3-rc3