/external/chromium_org/third_party/libjingle/source/talk/examples/call/ |
mucinviterecvtask.cc | 75 MucInviteRecvTask::HandleStanza(const XmlElement* stanza) { 80 if (stanza->Name() != QN_MESSAGE) return false; 81 xstanza = stanza->FirstNamed(QN_MUC_USER_X); 113 SignalInviteReceived(Jid(invite->Attr(QN_FROM)), Jid(stanza->Attr(QN_FROM)),
|
friendinvitesendtask.cc | 66 const XmlElement* stanza = NextStanza(); local 67 if (stanza == NULL) 70 if (SendStanza(stanza) != XMPP_RETURN_OK)
|
/external/chromium_org/third_party/libjingle/source/talk/examples/chat/ |
textchatreceivetask.h | 57 virtual bool HandleStanza(const XmlElement* stanza);
|
/external/chromium_org/third_party/libjingle/source/talk/examples/plus/ |
presencepushtask.h | 47 virtual bool HandleStanza(const XmlElement * stanza);
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
mucroomuniquehangoutidtask.h | 22 virtual void HandleResult(const buzz::XmlElement* stanza);
|
pubsubtasks.cc | 43 bool IsPubSubEventItemsElem(const XmlElement* stanza, 45 if (stanza->Name() != QN_MESSAGE) { 49 const XmlElement* event_elem = stanza->FirstNamed(QN_PUBSUB_EVENT); 124 void ParseEventItemsElem(const XmlElement* stanza, 126 const XmlElement* event_elem = stanza->FirstNamed(QN_PUBSUB_EVENT); 147 void ParsePubSubItemsElem(const XmlElement* stanza, 149 const XmlElement* pubsub_elem = stanza->FirstNamed(QN_PUBSUB); 170 void PubSubRequestTask::HandleResult(const XmlElement* stanza) { 172 ParsePubSubItemsElem(stanza, &items); 176 bool PubSubReceiveTask::WantsStanza(const XmlElement* stanza) { [all...] |
xmpptask.h | 55 // right away, they should decide if they own the sent stanza, 56 // and if so, queue it and Wake() the task, or if a stanza does not belong 60 // for example, disconnect a client while processing a stanza - 79 virtual XmppReturnStatus SendStanza(const XmlElement* stanza) = 0; 143 virtual bool HandleStanza(const XmlElement* stanza) { return false; } 146 XmppReturnStatus SendStanza(const XmlElement* stanza); 155 virtual void QueueStanza(const XmlElement* stanza); 158 bool MatchStanzaFrom(const XmlElement* stanza, const Jid& match_jid); 160 bool MatchResponseIq(const XmlElement* stanza, const Jid& to, 163 static bool MatchRequestIq(const XmlElement* stanza, const std::string& type [all...] |
pubsubclient.cc | 91 const XmlElement* stanza) { 92 SignalRequestError(this, stanza); 100 const XmlElement* GetItemFromStanza(const XmlElement* stanza) { 101 if (stanza != NULL) { 102 const XmlElement* pubsub = stanza->FirstNamed(QN_PUBSUB); 114 const XmlElement* item = GetItemFromStanza(task->stanza()); 122 const XmlElement* item = GetItemFromStanza(publish_task->stanza()); 131 const XmlElement* stanza) { 134 SignalRetractError(this, retract_task->task_id(), stanza);
|
jingleinfotask.h | 57 virtual bool HandleStanza(const XmlElement * stanza);
|
mucroomconfigtask.h | 54 virtual void HandleResult(const XmlElement* stanza);
|
mucroomdiscoverytask.h | 53 virtual void HandleResult(const XmlElement* stanza);
|
pingtask_unittest.cc | 47 buzz::XmppReturnStatus SendStanza(const buzz::XmlElement* stanza); 83 const buzz::XmlElement* stanza) { 84 buzz::XmppReturnStatus result = FakeXmppClient::SendStanza(stanza); 85 if (test->respond_to_pings && (stanza->FirstNamed(buzz::QN_PING) != NULL)) {
|
xmppengineimpl.h | 130 //! The stream:error stanza, when the error is XmppEngine::ERROR_STREAM. 131 //! Notice the stanza returned is owned by the XmppEngine and 144 //! Stanza delivery is chained to session handlers; the first to 145 //! return 'true' is the last to get each stanza. 152 //! Sends a stanza to the server. 153 virtual XmppReturnStatus SendStanza(const XmlElement* stanza); 160 virtual XmppReturnStatus SendIq(const XmlElement* stanza, 169 //! Forms and sends an error in response to the given stanza. 190 void IncomingStanza(const XmlElement *stanza); 191 void IncomingStart(const XmlElement *stanza); [all...] |
/external/chromium_org/remoting/jingle_glue/ |
iq_sender.h | 43 // Send an iq stanza. Returns an IqRequest object that represends 44 // the request. |callback| is called when response to |stanza| is 48 scoped_ptr<IqRequest> SendIq(scoped_ptr<buzz::XmlElement> stanza, 61 const buzz::XmlElement* stanza) OVERRIDE; 96 void CallCallback(const buzz::XmlElement* stanza); 100 void OnResponse(const buzz::XmlElement* stanza); 102 void DeliverResponse(scoped_ptr<buzz::XmlElement> stanza);
|
jingle_info_request.cc | 48 const buzz::XmlElement* stanza) { 53 if (!stanza) { 60 stanza->FirstNamed(buzz::QN_JINGLE_INFO_QUERY); 63 << stanza->Str(); 79 LOG(WARNING) << "Unable to parse port in stanza" << stanza->Str();
|
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
sessionmanager.cc | 130 bool SessionManager::IsSessionMessage(const buzz::XmlElement* stanza) { 131 return cricket::IsSessionMessage(stanza); 147 void SessionManager::OnIncomingMessage(const buzz::XmlElement* stanza) { 151 if (!ParseSessionMessage(stanza, &msg, &error)) { 152 SendErrorMessage(stanza, buzz::QN_STANZA_BAD_REQUEST, "modify", 163 SendErrorMessage(stanza, buzz::QN_STANZA_BAD_REQUEST, "modify", 171 SendErrorMessage(stanza, buzz::QN_STANZA_BAD_REQUEST, "modify", 177 SendErrorMessage(stanza, buzz::QN_STANZA_BAD_REQUEST, "modify", 218 void SessionManager::SendErrorMessage(const buzz::XmlElement* stanza, 224 CreateErrorMessage(stanza, name, type, text, extra_info)) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
sessionmanager.cc | 141 bool SessionManager::IsSessionMessage(const buzz::XmlElement* stanza) { 142 return cricket::IsSessionMessage(stanza); 158 void SessionManager::OnIncomingMessage(const buzz::XmlElement* stanza) { 162 if (!ParseSessionMessage(stanza, &msg, &error)) { 163 SendErrorMessage(stanza, buzz::QN_STANZA_BAD_REQUEST, "modify", 174 SendErrorMessage(stanza, buzz::QN_STANZA_BAD_REQUEST, "modify", 182 SendErrorMessage(stanza, buzz::QN_STANZA_BAD_REQUEST, "modify", 188 SendErrorMessage(stanza, buzz::QN_STANZA_BAD_REQUEST, "modify", 214 // Also try the QN_FROM in the response stanza, in case we sent the request 248 void SessionManager::SendErrorMessage(const buzz::XmlElement* stanza, [all...] |
/external/chromium/third_party/libjingle/source/talk/examples/call/ |
discoitemsquerytask.h | 60 // TODO: Currently, this only supports one query stanza - we may eventually 76 virtual bool HandleStanza(const XmlElement* stanza);
|
friendinvitesendtask.cc | 66 const XmlElement* stanza = NextStanza(); local 67 if (stanza == NULL) 70 if (SendStanza(stanza) != XMPP_RETURN_OK)
|
/external/chromium_org/jingle/notifier/listener/ |
push_notifications_send_update_task.cc | 29 scoped_ptr<buzz::XmlElement> stanza( 33 << " as stanza " << XmlElementToString(*stanza); 34 if (SendStanza(stanza.get()) != buzz::XMPP_RETURN_OK) { 35 DLOG(WARNING) << "Could not send stanza " << XmlElementToString(*stanza); 49 // Create our update stanza. The message is constructed as:
|
/external/chromium_org/remoting/webapp/ |
wcs.js | 55 * A function called when an IQ stanza is received. 56 * @param {string} stanza The IQ stanza. 59 this.onIq_ = function(stanza) {}; 111 * Sends an IQ stanza. 113 * @param {string} stanza An IQ stanza. 116 remoting.Wcs.prototype.sendIq = function(stanza) { 117 this.wcsIqClient_.sendIq(stanza); 121 * Sets the function called when an IQ stanza is received [all...] |
/external/chromium_org/remoting/host/ |
register_support_host_request_unittest.cc | 98 scoped_ptr<XmlElement> stanza(sent_iq); 99 ASSERT_TRUE(stanza != NULL); 101 EXPECT_EQ(stanza->Attr(buzz::QName(std::string(), "to")), 103 EXPECT_EQ(stanza->Attr(buzz::QName(std::string(), "type")), "set"); 106 stanza->FirstElement()->Name()); 109 XmlElement* signature = stanza->FirstElement()->FirstNamed(signature_tag); 111 EXPECT_TRUE(stanza->NextNamed(signature_tag) == NULL);
|
heartbeat_sender_unittest.cc | 89 void ValidateHeartbeatStanza(XmlElement* stanza, 113 scoped_ptr<XmlElement> stanza(sent_iq); 114 ASSERT_TRUE(stanza != NULL); 115 ValidateHeartbeatStanza(stanza.get(), "0"); 135 scoped_ptr<XmlElement> stanza(sent_iq); 136 ASSERT_TRUE(stanza != NULL); 137 ValidateHeartbeatStanza(stanza.get(), "0"); 159 // Call Start() followed by Stop(), make sure a valid Iq stanza is sent, 174 scoped_ptr<XmlElement> stanza(sent_iq); 175 ASSERT_TRUE(stanza != NULL) [all...] |
server_log_entry_unittest.cc | 18 // Verifies a logging stanza. 55 s << "stanza has " << attrCount << " keys: expected " 67 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 74 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) 80 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 86 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) 94 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 115 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) << 123 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 131 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) < 139 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local [all...] |
/external/chromium_org/remoting/protocol/ |
jingle_session_manager.cc | 89 const buzz::XmlElement* stanza) { 90 if (!JingleMessage::IsJingleMessage(stanza)) 95 if (!message.ParseXml(stanza, &error)) { 96 SendReply(stanza, JingleMessageReply::BAD_REQUEST); 104 SendReply(stanza, JingleMessageReply::NONE); 153 SendReply(stanza, JingleMessageReply::INVALID_SID); 158 &JingleSessionManager::SendReply, base::Unretained(this), stanza));
|