Lines Matching refs:stanza
49 XmppReturnStatus XmppTask::SendStanza(const XmlElement* stanza) {
52 return GetClient()->SendStanza(stanza);
72 void XmppTask::QueueStanza(const XmlElement* stanza) {
78 stanza_queue_.push_back(new XmlElement(*stanza));
115 bool XmppTask::MatchResponseIq(const XmlElement* stanza,
118 if (stanza->Name() != QN_IQ)
121 if (stanza->Attr(QN_ID) != id)
124 return MatchStanzaFrom(stanza, to);
127 bool XmppTask::MatchStanzaFrom(const XmlElement* stanza,
129 Jid from(stanza->Attr(QN_FROM));
143 bool XmppTask::MatchRequestIq(const XmlElement* stanza,
146 if (stanza->Name() != QN_IQ)
149 if (stanza->Attr(QN_TYPE) != type)
152 if (stanza->FirstNamed(qn) == NULL)