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