Lines Matching refs:stanza
32 bool PubsubTask::HandleStanza(const buzz::XmlElement* stanza) { in HandleStanza() argument
33 const buzz::QName& stanza_name(stanza->Name()); in HandleStanza()
35 if (MatchStanzaFrom(stanza, pubsub_node_jid_)) { in HandleStanza()
37 stanza->FirstNamed(QN_PUBSUB_EVENT); in HandleStanza()
44 if (MatchResponseIq(stanza, pubsub_node_jid_, task_id())) { in HandleStanza()
45 const buzz::XmlElement* pubsub_item = stanza->FirstNamed(QN_PUBSUB); in HandleStanza()
56 const buzz::XmlElement* stanza = NextStanza(); in ProcessResponse() local
57 if (stanza == NULL) { in ProcessResponse()
61 if (stanza->Attr(buzz::QN_TYPE) == buzz::STR_ERROR) { in ProcessResponse()
62 OnPubsubError(stanza->FirstNamed(buzz::QN_ERROR)); in ProcessResponse()
66 const buzz::QName& stanza_name(stanza->Name()); in ProcessResponse()
68 HandlePubsubEventMessage(stanza); in ProcessResponse()
70 HandlePubsubIqGetResponse(stanza); in ProcessResponse()