#include <discoDB.hh>
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. |
Don't blame me, temas did it.
Definition at line 67 of file discoDB.hh.
|
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. |
|
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. |