List of all members.
Detailed Description
Definition at line 20 of file IQRouter.h.
Constructor & Destructor Documentation
| Swift::IQRouter::IQRouter |
( |
IQChannel * |
channel |
) |
|
| Swift::IQRouter::~IQRouter |
( |
|
) |
|
Member Function Documentation
| void Swift::IQRouter::addHandler |
( |
IQHandler * |
handler |
) |
|
| void Swift::IQRouter::addHandler |
( |
boost::shared_ptr< IQHandler > |
handler |
) |
|
| const JID& Swift::IQRouter::getJID |
( |
|
) |
const [inline] |
| std::string Swift::IQRouter::getNewIQID |
( |
|
) |
|
| bool Swift::IQRouter::isAccountJID |
( |
const JID & |
jid |
) |
[inline] |
| bool Swift::IQRouter::isAvailable |
( |
|
) |
|
| void Swift::IQRouter::removeHandler |
( |
IQHandler * |
handler |
) |
|
| void Swift::IQRouter::removeHandler |
( |
boost::shared_ptr< IQHandler > |
handler |
) |
|
| void Swift::IQRouter::sendIQ |
( |
boost::shared_ptr< IQ > |
iq |
) |
|
| void Swift::IQRouter::setFrom |
( |
const JID & |
from |
) |
[inline] |
Sets the 'from' JID for all outgoing IQ stanzas.
By default, IQRouter does not add a from to IQ stanzas, since this is automatically added by the server. This overrides this default behavior, which is necessary for e.g. components.
Definition at line 46 of file IQRouter.h.
| void Swift::IQRouter::setJID |
( |
const JID & |
jid |
) |
[inline] |
Sets the JID of this IQ router.
This JID is used by requests to check whether incoming results are addressed correctly.
Definition at line 31 of file IQRouter.h.