HomeSort by relevance Sort by last modified time
    Searched refs:buzz (Results 1 - 25 of 415) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/jingle/notifier/listener/
xml_element_util.cc 18 std::string XmlElementToString(const buzz::XmlElement& xml_element) {
20 buzz::XmlPrinter::PrintXml(&xml_stream, &xml_element);
24 buzz::XmlElement* MakeBoolXmlElement(const char* name, bool value) {
25 const buzz::QName elementQName(buzz::STR_EMPTY, name);
26 const buzz::QName boolAttrQName(buzz::STR_EMPTY, "bool");
27 buzz::XmlElement* bool_xml_element =
28 new buzz::XmlElement(elementQName, true);
33 buzz::XmlElement* MakeIntXmlElement(const char* name, int value)
    [all...]
xml_element_util.h 10 namespace buzz { namespace
16 std::string XmlElementToString(const buzz::XmlElement& xml_element);
21 buzz::XmlElement* MakeBoolXmlElement(const char* name, bool value);
23 buzz::XmlElement* MakeIntXmlElement(const char* name, int value);
25 buzz::XmlElement* MakeStringXmlElement(const char* name, const char* value);
send_ping_task.cc 23 SendPingTask::SendPingTask(buzz::XmppTaskParentInterface* parent,
25 : XmppTask(parent, buzz::XmppEngine::HL_SINGLE), delegate_(delegate) {
33 scoped_ptr<buzz::XmlElement> stanza(MakePingStanza(ping_task_id_));
35 if (SendStanza(stanza.get()) != buzz::XMPP_RETURN_OK) {
43 const buzz::XmlElement* stanza = NextStanza();
50 std::string type = stanza->Attr(buzz::QN_TYPE);
51 if (type != buzz::STR_RESULT) {
61 bool SendPingTask::HandleStanza(const buzz::XmlElement* stanza) {
65 if (MatchResponseIq(stanza, buzz::Jid(buzz::STR_EMPTY), ping_task_id_))
    [all...]
push_notifications_listen_task.h 10 // The task is deleted automatically by the buzz::XmppClient. This occurs in the
11 // destructor of TaskRunner, which is a superclass of buzz::XmppClient.
19 namespace buzz { namespace
27 class PushNotificationsListenTask : public buzz::XmppTask {
37 PushNotificationsListenTask(buzz::XmppTaskParentInterface* parent,
41 // Overriden from buzz::XmppTask.
44 virtual bool HandleStanza(const buzz::XmlElement* stanza) OVERRIDE;
47 bool IsValidNotification(const buzz::XmlElement* stanza);
push_notifications_send_update_task.h 16 namespace buzz { namespace
23 class PushNotificationsSendUpdateTask : public buzz::XmppTask {
26 buzz::XmppTaskParentInterface* parent, const Notification& notification);
29 // Overridden from buzz::XmppTask.
33 // Allocates and constructs an buzz::XmlElement containing the update stanza.
34 static buzz::XmlElement* MakeUpdateMessage(
35 const Notification& notification, const buzz::Jid& to_jid_bare);
  /external/chromium_org/third_party/libjingle/source/talk/p2p/base/
constants.h 40 // QN_ == buzz::QName (namespace + name)
57 extern const buzz::StaticQName QN_ACTION;
59 extern const buzz::StaticQName QN_INITIATOR;
60 extern const buzz::StaticQName QN_CREATOR;
62 extern const buzz::StaticQName QN_JINGLE;
63 extern const buzz::StaticQName QN_JINGLE_CONTENT;
64 extern const buzz::StaticQName QN_JINGLE_CONTENT_NAME;
65 extern const buzz::StaticQName QN_JINGLE_CONTENT_MEDIA;
66 extern const buzz::StaticQName QN_JINGLE_REASON;
67 extern const buzz::StaticQName QN_JINGLE_DRAFT_GROUP
    [all...]
constants.cc 42 const buzz::StaticQName QN_ACTION = { NS_EMPTY, "action" };
44 const buzz::StaticQName QN_INITIATOR = { NS_EMPTY, LN_INITIATOR };
45 const buzz::StaticQName QN_CREATOR = { NS_EMPTY, "creator" };
47 const buzz::StaticQName QN_JINGLE = { NS_JINGLE, "jingle" };
48 const buzz::StaticQName QN_JINGLE_CONTENT = { NS_JINGLE, "content" };
49 const buzz::StaticQName QN_JINGLE_CONTENT_NAME = { NS_EMPTY, "name" };
50 const buzz::StaticQName QN_JINGLE_CONTENT_MEDIA = { NS_EMPTY, "media" };
51 const buzz::StaticQName QN_JINGLE_REASON = { NS_JINGLE, "reason" };
52 const buzz::StaticQName QN_JINGLE_DRAFT_GROUP = { NS_JINGLE_DRAFT, "group" };
53 const buzz::StaticQName QN_JINGLE_DRAFT_GROUP_TYPE = { NS_EMPTY, "type" }
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/xmpp/
mucroomconfigtask.cc 36 namespace buzz { namespace
51 buzz::XmlElement* owner_query = new
52 buzz::XmlElement(buzz::QN_MUC_OWNER_QUERY, true);
54 buzz::XmlElement* x_form = new buzz::XmlElement(buzz::QN_XDATA_X, true);
55 x_form->SetAttr(buzz::QN_TYPE, buzz::STR_FORM);
57 buzz::XmlElement* roomname_field
    [all...]
xmpppump.h 39 namespace buzz { namespace
46 virtual void OnStateChange(buzz::XmppEngine::State state) = 0;
51 XmppPump(buzz::XmppPumpNotify * notify = NULL);
53 buzz::XmppClient *client() { return client_; }
55 void DoLogin(const buzz::XmppClientSettings & xcs,
56 buzz::AsyncSocket* socket,
57 buzz::PreXmppAuth* auth);
60 void OnStateChange(buzz::XmppEngine::State state);
68 buzz::XmppReturnStatus SendStanza(const buzz::XmlElement *stanza)
    [all...]
mucroomuniquehangoutidtask.h 9 namespace buzz { namespace
14 class MucRoomUniqueHangoutIdTask : public buzz::IqTask {
16 MucRoomUniqueHangoutIdTask(buzz::XmppTaskParentInterface* parent,
22 virtual void HandleResult(const buzz::XmlElement* stanza);
25 static buzz::XmlElement* MakeUniqueRequestXml();
29 } // namespace buzz
xmppauth.cc 42 void XmppAuth::StartPreXmppAuth(const buzz::Jid& jid,
65 if (GetAuthMechanism() == buzz::AUTH_MECHANISM_OAUTH2 &&
66 contains(mechanisms, buzz::AUTH_MECHANISM_OAUTH2)) {
67 return buzz::AUTH_MECHANISM_OAUTH2;
71 if (GetAuthMechanism() == buzz::AUTH_MECHANISM_GOOGLE_TOKEN &&
72 contains(mechanisms, buzz::AUTH_MECHANISM_GOOGLE_TOKEN)) {
73 return buzz::AUTH_MECHANISM_GOOGLE_TOKEN;
77 if (GetAuthMechanism() == buzz::AUTH_MECHANISM_GOOGLE_COOKIE &&
78 contains(mechanisms, buzz::AUTH_MECHANISM_GOOGLE_COOKIE)) {
79 return buzz::AUTH_MECHANISM_GOOGLE_COOKIE
    [all...]
xmppthread.h 37 namespace buzz { namespace
40 public talk_base::Thread, buzz::XmppPumpNotify, talk_base::MessageHandler {
45 buzz::XmppClient* client() { return pump_->client(); }
49 void Login(const buzz::XmppClientSettings & xcs);
53 buzz::XmppPump* pump_;
55 void OnStateChange(buzz::XmppEngine::State state);
59 } // namespace buzz
pubsub_task.h 37 namespace buzz { namespace
44 class PubsubTask : public buzz::XmppTask {
49 typedef void (PubsubTask::*NodeHandler)(const buzz::XmlElement* node);
51 PubsubTask(XmppTaskParentInterface* parent, const buzz::Jid& pubsub_node_jid);
53 virtual bool HandleStanza(const buzz::XmlElement* stanza);
60 virtual void OnPubsubError(const buzz::XmlElement* error_stanza);
65 void HandlePubsubIqGetResponse(const buzz::XmlElement* pubsub_iq_response);
66 void HandlePubsubEventMessage(const buzz::XmlElement* pubsub_event_message);
67 void HandlePubsubItems(const buzz::XmlElement* items);
69 buzz::Jid pubsub_node_jid_
    [all...]
iqtask.cc 33 namespace buzz { namespace
39 const buzz::Jid& to,
40 buzz::XmlElement* el)
41 : buzz::XmppTask(parent, buzz::XmppEngine::HL_SINGLE),
49 buzz::XmppReturnStatus ret = SendStanza(stanza_.get());
51 return (ret == buzz::XMPP_RETURN_OK) ? STATE_RESPONSE : STATE_ERROR;
54 bool IqTask::HandleStanza(const buzz::XmlElement* stanza) {
58 if (stanza->Attr(buzz::QN_TYPE) != buzz::STR_RESULT &
    [all...]
  /external/chromium_org/remoting/protocol/
authenticator.cc 14 const buzz::StaticQName kAuthenticationQName = { kChromotingXmlNamespace,
19 bool Authenticator::IsAuthenticatorMessage(const buzz::XmlElement* message) {
24 scoped_ptr<buzz::XmlElement> Authenticator::CreateEmptyAuthenticatorMessage() {
25 return scoped_ptr<buzz::XmlElement>(
26 new buzz::XmlElement(kAuthenticationQName));
30 const buzz::XmlElement* Authenticator::FindAuthenticatorMessage(
31 const buzz::XmlElement* message) {
third_party_authenticator_base.h 15 namespace buzz { namespace
19 } // namespace buzz
40 virtual void ProcessMessage(const buzz::XmlElement* message,
42 virtual scoped_ptr<buzz::XmlElement> GetNextMessage() OVERRIDE;
48 static const buzz::StaticQName kTokenUrlTag;
49 static const buzz::StaticQName kTokenScopeTag;
50 static const buzz::StaticQName kTokenTag;
56 const buzz::XmlElement* message,
61 const buzz::XmlElement* message,
65 virtual void AddTokenElements(buzz::XmlElement* message) = 0
    [all...]
  /external/chromium/third_party/libjingle/source/talk/p2p/base/
constants.h 40 // QN_ == buzz::QName (namespace + name)
56 extern const buzz::QName QN_ACTION;
58 extern const buzz::QName QN_INITIATOR;
59 extern const buzz::QName QN_CREATOR;
61 extern const buzz::QName QN_JINGLE;
62 extern const buzz::QName QN_JINGLE_CONTENT;
63 extern const buzz::QName QN_JINGLE_CONTENT_NAME;
64 extern const buzz::QName QN_JINGLE_CONTENT_MEDIA;
65 extern const buzz::QName QN_JINGLE_REASON;
75 extern const buzz::QName QN_GINGLE_SESSION
    [all...]
parsing.h 48 const buzz::XmlElement* extra;
77 std::string GetXmlAttr(const buzz::XmlElement* elem,
78 const buzz::QName& name,
80 std::string GetXmlAttr(const buzz::XmlElement* elem,
81 const buzz::QName& name,
84 bool GetXmlAttr(const buzz::XmlElement* elem,
85 const buzz::QName& name, bool def);
86 int GetXmlAttr(const buzz::XmlElement* elem,
87 const buzz::QName& name, int def);
88 void AddXmlAttr(buzz::XmlElement* elem
    [all...]
constants.cc 40 const buzz::QName QN_ACTION(true, NS_EMPTY, "action");
42 const buzz::QName QN_INITIATOR(true, NS_EMPTY, LN_INITIATOR);
43 const buzz::QName QN_CREATOR(true, NS_EMPTY, "creator");
45 const buzz::QName QN_JINGLE(true, NS_JINGLE, "jingle");
46 const buzz::QName QN_JINGLE_CONTENT(true, NS_JINGLE, "content");
47 const buzz::QName QN_JINGLE_CONTENT_NAME(true, NS_EMPTY, "name");
48 const buzz::QName QN_JINGLE_CONTENT_MEDIA(true, NS_EMPTY, "media");
49 const buzz::QName QN_JINGLE_REASON(true, NS_JINGLE, "reason");
59 const buzz::QName QN_GINGLE_SESSION(true, NS_GINGLE, "session");
71 const buzz::QName QN_GINGLE_REDIRECT(true, NS_GINGLE, "redirect")
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/examples/plus/
libjingleplus.h 63 virtual void OnStateChange(buzz::XmppEngine::State) = 0;
74 virtual void OnStatusUpdate(const buzz::Status &status) = 0;
77 virtual void OnStatusError(const buzz::XmlElement &stanza) = 0;
80 virtual void OnIqDone(bool success, const buzz::XmlElement &stanza) = 0;
84 virtual void OnMessage(const buzz::XmppMessage &message) = 0;
93 virtual void OnRosterItemUpdated(const buzz::RosterItem &ri) = 0;
95 virtual void OnRosterItemRemoved(const buzz::RosterItem &ri) = 0;
98 virtual void OnRosterSubscribe(const buzz::Jid &jid) = 0;
99 virtual void OnRosterUnsubscribe(const buzz::Jid &jid) = 0;
100 virtual void OnRosterSubscribed(const buzz::Jid &jid) = 0
    [all...]
  /external/chromium/third_party/libjingle/source/talk/p2p/client/
sessionsendtask.h 46 class SessionSendTask : public buzz::XmppTask {
49 : buzz::XmppTask(parent, buzz::XmppEngine::HL_SINGLE),
58 void Send(const buzz::XmlElement* stanza) {
63 ASSERT(stanza->Name() == buzz::QN_IQ);
64 ASSERT(stanza->HasAttr(buzz::QN_TYPE));
65 if (stanza->Attr(buzz::QN_TYPE) == "set") {
66 ASSERT(!stanza->HasAttr(buzz::QN_ID));
68 ASSERT((stanza->Attr(buzz::QN_TYPE) == "result") ||
69 (stanza->Attr(buzz::QN_TYPE) == "error"))
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/p2p/client/
sessionsendtask.h 46 class SessionSendTask : public buzz::XmppTask {
48 SessionSendTask(buzz::XmppTaskParentInterface* parent,
50 : buzz::XmppTask(parent, buzz::XmppEngine::HL_SINGLE),
61 void Send(const buzz::XmlElement* stanza) {
66 ASSERT(stanza->Name() == buzz::QN_IQ);
67 ASSERT(stanza->HasAttr(buzz::QN_TYPE));
68 if (stanza->Attr(buzz::QN_TYPE) == "set") {
69 ASSERT(!stanza->HasAttr(buzz::QN_ID));
71 ASSERT((stanza->Attr(buzz::QN_TYPE) == "result") |
    [all...]
  /external/chromium/third_party/libjingle/source/talk/examples/login/
xmpppump.h 44 virtual void OnStateChange(buzz::XmppEngine::State state) = 0;
51 buzz::XmppClient *client() { return client_; }
53 void DoLogin(const buzz::XmppClientSettings & xcs,
54 buzz::AsyncSocket* socket,
55 buzz::PreXmppAuth* auth);
58 void OnStateChange(buzz::XmppEngine::State state);
66 buzz::XmppReturnStatus SendStanza(const buzz::XmlElement *stanza);
69 buzz::XmppClient *client_;
70 buzz::XmppEngine::State state_
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/examples/chat/
chatapp.h 37 namespace buzz { namespace
57 ChatApp(buzz::XmppClient* xmpp_client, talk_base::Thread* main_thread);
100 bool GetRosterItem(int index, buzz::PresenceStatus* status);
121 void OnStateChange(buzz::XmppEngine::State state);
126 void OnPresenceUpdate(const buzz::PresenceStatus& status);
130 void OnTextMessage(const buzz::Jid& from, const buzz::Jid& to,
140 buzz::XmppClient* xmpp_client_;
143 talk_base::scoped_ptr<buzz::PresenceOutTask> presence_out_task_;
146 talk_base::scoped_ptr<buzz::PresenceReceiveTask> presence_receive_task_
    [all...]
  /external/chromium_org/remoting/jingle_glue/
jingle_info_request.cc 28 scoped_ptr<buzz::XmlElement> iq_body(
29 new buzz::XmlElement(buzz::QN_JINGLE_INFO_QUERY, true));
31 buzz::STR_GET, buzz::STR_EMPTY, iq_body.Pass(),
36 const buzz::XmlElement* stanza) {
37 const buzz::XmlElement* query =
38 stanza->FirstNamed(buzz::QN_JINGLE_INFO_QUERY);
46 const buzz::XmlElement* stun = query->FirstNamed(buzz::QN_JINGLE_INFO_STUN)
    [all...]

Completed in 412 milliseconds

1 2 3 4 5 6 7 8 91011>>