xmppd::jabberid_pool Class Reference

#include <jabberdlib.h>

Inheritance diagram for xmppd::jabberid_pool:
xmppd::jabberid

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_poolnext

Detailed Description

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


Constructor & Destructor Documentation

xmppd::jabberid_pool::jabberid_pool ( const Glib::ustring &  jid,
::pool  p 
)

construct a jabberid_pool with an existing assigned pool

Parameters:
jid initial jabberid
p the pool to assign
Exceptions:
std::invalid_argument if the JID is not valid

Member Function Documentation

char * xmppd::jabberid_pool::full_pooled (  ) 

get the textual representation of a jabberid (allocated in pooled memory

Returns:
the textual representation

References xmppd::jabberid::full(), and pstrdup().

pool xmppd::jabberid_pool::get_pool (  )  [inline]

the the pool of this jabberid_pool

Returns:
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

Parameters:
domain the domain to set
Exceptions:
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

Parameters:
node the node to set (empty string to clear node)
Exceptions:
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

Parameters:
resource the resource to set (empty string to clear resource)
Exceptions:
std::invalid_argument if the resource cannot be prepared

Reimplemented from xmppd::jabberid.


Field Documentation

helper pointer to construct legacy lists

Referenced by acl_check_access(), jid_append(), js_remove_seen(), and js_remove_trustee().


The documentation for this class was generated from the following files:

Generated on Thu Mar 11 06:00:14 2010 for jabberd14 by  doxygen 1.6.1