#include <jabberdlib.h>
Public Member Functions | |
| jabberid_pool (const Glib::ustring &jid,::pool p) | |
| char * | full_pooled () |
| void | set_node (const Glib::ustring &node) |
| void | set_domain (const Glib::ustring &domain) |
| void | set_resource (const Glib::ustring &resource) |
| pool | get_pool () |
Data Fields | |
| jabberid_pool * | next |
jabberid_pool is a child class of jabberid, that is used to implement the compatibility layer for existing code, that expect a jid to have an associated pool
| xmppd::jabberid_pool::jabberid_pool | ( | const Glib::ustring & | jid, | |
| ::pool | p | |||
| ) |
construct a jabberid_pool with an existing assigned pool
| jid | initial jabberid | |
| p | the pool to assign |
| std::invalid_argument | if the JID is not valid |
| char * xmppd::jabberid_pool::full_pooled | ( | ) |
get the textual representation of a jabberid (allocated in pooled memory
References xmppd::jabberid::full(), and pstrdup().
| pool xmppd::jabberid_pool::get_pool | ( | ) | [inline] |
the the pool of this jabberid_pool
Referenced by acl_check_access(), dialback_ip_get(), jid_append(), jid_user(), and js_user().
| void xmppd::jabberid_pool::set_domain | ( | const Glib::ustring & | domain | ) |
sets the domain part of a jabberid
| domain | the domain to set |
| std::invalid_argument | if the domain cannot be prepared |
Reimplemented from xmppd::jabberid.
| void xmppd::jabberid_pool::set_node | ( | const Glib::ustring & | node | ) |
sets the node part of a jabberid
| node | the node to set (empty string to clear node) |
| std::invalid_argument | if the node cannot be prepared |
Reimplemented from xmppd::jabberid.
| void xmppd::jabberid_pool::set_resource | ( | const Glib::ustring & | resource | ) |
sets the resource part of a jabberid
| resource | the resource to set (empty string to clear resource) |
| std::invalid_argument | if the resource cannot be prepared |
Reimplemented from xmppd::jabberid.
helper pointer to construct legacy lists
Referenced by acl_check_access(), jid_append(), js_remove_seen(), and js_remove_trustee().
1.6.1