HomeSort by relevance Sort by last modified time
    Searched refs:XmlElement (Results 26 - 50 of 166) sorted by null

12 3 4 5 6 7

  /external/webrtc/webrtc/libjingle/xmpp/
discoitemsquerytask.h 58 static XmlElement* MakeRequest(const std::string& node);
59 virtual void HandleResult(const XmlElement* result);
60 static bool ParseItem(const XmlElement* element, DiscoItem* item);
saslplainmechanism.h 27 virtual XmlElement * StartSaslAuth() {
29 XmlElement * el = new XmlElement(QN_SASL_AUTH, true);
pubsub_task.cc 32 bool PubsubTask::HandleStanza(const buzz::XmlElement* stanza) {
36 const buzz::XmlElement* pubsub_event_item =
45 const buzz::XmlElement* pubsub_item = stanza->FirstNamed(QN_PUBSUB);
56 const buzz::XmlElement* stanza = NextStanza();
85 rtc::scoped_ptr<buzz::XmlElement> get_iq_request(
90 buzz::XmlElement* pubsub_element = new buzz::XmlElement(QN_PUBSUB, true);
91 buzz::XmlElement* items_element = new buzz::XmlElement(QN_PUBSUB_ITEMS, true);
108 void PubsubTask::OnPubsubError(const buzz::XmlElement* error_stanza)
    [all...]
xmpptask.cc 49 XmppReturnStatus XmppTask::SendStanza(const XmlElement* stanza) {
55 XmppReturnStatus XmppTask::SendStanzaError(const XmlElement* element_original,
72 void XmppTask::QueueStanza(const XmlElement* stanza) {
78 stanza_queue_.push_back(new XmlElement(*stanza));
82 const XmlElement* XmppTask::NextStanza() {
83 XmlElement* result = NULL;
92 XmlElement* XmppTask::MakeIq(const std::string& type,
95 XmlElement* result = new XmlElement(QN_IQ);
105 XmlElement* XmppTask::MakeIqResult(const XmlElement * query)
    [all...]
mucroomconfigtask.h 37 virtual void HandleResult(const XmlElement* stanza);
40 static XmlElement* MakeRequest(const std::string& room_name,
fakexmppclient.h 23 class XmlElement;
55 virtual XmppReturnStatus SendStanza(const XmlElement* stanza) {
60 const std::vector<const XmlElement*>& sent_stanzas() {
65 const XmlElement * pelOriginal,
87 void HandleStanza(XmlElement* stanza) {
101 std::vector<const XmlElement*> sent_stanzas_;
mucroomlookuptask.h 60 virtual void HandleResult(const XmlElement* element);
65 XmlElement* query);
66 static XmlElement* MakeNameQuery(const std::string& room_name,
68 static XmlElement* MakeJidQuery(const Jid& room_jid);
69 static XmlElement* MakeHangoutIdQuery(const std::string& hangout_id);
70 static XmlElement* MakeExternalIdQuery(const std::string& external_id,
rostermoduleimpl.h 73 virtual const XmlElement* raw_xml() const;
77 virtual XmppReturnStatus set_raw_xml(const XmlElement * xml);
89 rtc::scoped_ptr<XmlElement> raw_xml_;
130 virtual const XmlElement* raw_xml() const;
134 virtual XmppReturnStatus set_raw_xml(const XmlElement * xml);
140 void SetXmlFromWire(const XmlElement * xml);
144 XmlElement** element,
153 XmlElement * group_returned_;
154 rtc::scoped_ptr<XmlElement> raw_xml_;
248 virtual void IqResponse(XmppIqCookie cookie, const XmlElement * stanza)
    [all...]
jingleinfotask.cc 27 rtc::scoped_ptr<XmlElement> get(
29 get->AddElement(new XmlElement(QN_JINGLE_INFO_QUERY, true));
42 virtual bool HandleStanza(const XmlElement * stanza) {
69 JingleInfoTask::HandleStanza(const XmlElement * stanza) {
89 const XmlElement * stanza = NextStanza();
92 const XmlElement * query = stanza->FirstNamed(QN_JINGLE_INFO_QUERY);
95 const XmlElement *stun = query->FirstNamed(QN_JINGLE_INFO_STUN);
97 for (const XmlElement *server = stun->FirstNamed(QN_JINGLE_INFO_SERVER);
107 const XmlElement *relay = query->FirstNamed(QN_JINGLE_INFO_RELAY);
110 for (const XmlElement *server = relay->FirstNamed(QN_JINGLE_INFO_SERVER)
    [all...]
presenceouttask.cc 26 XmlElement * presence = TranslateStatus(s);
37 XmlElement * presence = TranslateStatus(s);
48 XmlElement * presence = new XmlElement(QN_PRESENCE);
59 const XmlElement * stanza = NextStanza();
69 XmlElement *
71 XmlElement * result = new XmlElement(QN_PRESENCE);
78 result->AddElement(new XmlElement(QN_SHOW));
95 result->AddElement(new XmlElement(QN_STATUS))
    [all...]
pubsubclient.cc 37 const std::string& itemid, XmlElement* payload, std::string* task_id_out) {
38 std::vector<XmlElement*> children;
44 const std::string& itemid, const std::vector<XmlElement*>& children,
74 const XmlElement* stanza) {
83 const XmlElement* GetItemFromStanza(const XmlElement* stanza) {
85 const XmlElement* pubsub = stanza->FirstNamed(QN_PUBSUB);
87 const XmlElement* publish = pubsub->FirstNamed(QN_PUBSUB_PUBLISH);
97 const XmlElement* item = GetItemFromStanza(task->stanza());
102 const XmlElement* error_stanza)
    [all...]
xmpplogintask.cc 16 #include "webrtc/libjingle/xmllite/xmlelement.h"
55 pvecQueuedStanzas_(new std::vector<XmlElement *>()),
65 XmppLoginTask::IncomingStanza(const XmlElement *element, bool isStart) {
73 const XmlElement *
75 const XmlElement * result = pelStanza_;
85 const XmlElement * element = NULL;
148 const XmlElement * pelTls = GetFeature(QN_TLS_STARTTLS);
152 XmlElement el(QN_TLS_STARTTLS, true);
176 const XmlElement * pelSaslAuth = GetFeature(QN_SASL_MECHANISMS);
183 for (const XmlElement * pelMech
    [all...]
hangoutpubsubclient.cc 14 #include "webrtc/libjingle/xmllite/xmlelement.h"
34 virtual XmlElement* Write(const QName& state_name, const bool& state) {
39 return new XmlElement(state_name, true);
42 virtual void Parse(const XmlElement* state_elem, bool *state_out) {
61 XmlElement* presenter_elem = new XmlElement(QN_PRESENTER_PRESENTER, true);
64 XmlElement* presentation_item_elem =
65 new XmlElement(QN_PRESENTER_PRESENTATION_ITEM, false);
73 std::vector<XmlElement*> children;
83 const XmlElement* presenter_elem
    [all...]
xmppengineimpl.h 116 virtual const XmlElement* GetStreamError() { return stream_error_.get(); }
136 virtual XmppReturnStatus SendStanza(const XmlElement* stanza);
143 virtual XmppReturnStatus SendIq(const XmlElement* stanza,
155 virtual XmppReturnStatus SendStanzaError(const XmlElement* pelOriginal,
173 void IncomingStanza(const XmlElement *stanza);
174 void IncomingStart(const XmlElement *stanza);
178 void InternalSendStanza(const XmlElement* stanza);
183 void SignalStreamError(const XmlElement* streamError);
187 bool HandleIqResponse(const XmlElement* element);
196 virtual void StartStream(const XmlElement* stream)
    [all...]
moduleimpl.h 40 virtual bool HandleStanza(const XmlElement *) { return false; };
53 bool HandleStanza(const XmlElement* stanza) {
pingtask.cc 32 bool PingTask::HandleStanza(const buzz::XmlElement* stanza) {
53 const buzz::XmlElement* stanza = NextStanza();
69 rtc::scoped_ptr<buzz::XmlElement> stanza(
71 stanza->AddElement(new buzz::XmlElement(QN_PING));
presenceouttask.h 32 XmlElement * TranslateStatus(const PresenceStatus & s);
pubsubclient_unittest.cc 14 #include "webrtc/libjingle/xmllite/xmlelement.h"
46 const buzz::XmlElement* stanza) {
52 const buzz::XmlElement* item) {
58 const buzz::XmlElement* item,
59 const buzz::XmlElement* stanza) {
71 const buzz::XmlElement* stanza) {
144 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(result_iq));
167 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(items_message));
188 xmpp_client->HandleStanza(buzz::XmlElement::ForStr(result_iq));
193 buzz::XmlElement* payload
    [all...]
saslhandler.h 19 class XmlElement;
presencereceivetask.cc 32 const XmlElement * stanza = NextStanza();
43 bool PresenceReceiveTask::HandleStanza(const XmlElement * stanza) {
56 const XmlElement* stanza) {
67 const XmlElement* stanza,
74 const XmlElement * status_elem = stanza->FirstNamed(QN_STATUS);
91 const XmlElement * priority = stanza->FirstNamed(QN_PRIORITY);
99 const XmlElement * show = stanza->FirstNamed(QN_SHOW);
114 const XmlElement * caps = stanza->FirstNamed(QN_CAPS_C);
125 const XmlElement* delay = stanza->FirstNamed(kQnDelayX);
134 const XmlElement* nick = stanza->FirstNamed(QN_NICKNAME)
    [all...]
chatroommoduleimpl.cc 58 virtual XmppReturnStatus SendMessage(const XmlElement& message);
61 virtual void IqResponse(XmppIqCookie cookie, const XmlElement * pelStanza) {RTC_UNUSED2(cookie, pelStanza);}
62 virtual bool HandleStanza(const XmlElement *);
67 XmppReturnStatus ServerChangeMyPresence(const XmlElement& presence);
69 XmppReturnStatus ChangePresence(XmppChatroomState new_state, const XmlElement* presence, bool isServer);
70 XmppReturnStatus ServerChangedOtherPresence(const XmlElement& presence_element);
71 XmppChatroomEnteredStatus GetEnterFailureFromXml(const XmlElement* presence);
72 XmppChatroomExitedStatus GetExitFailureFromXml(const XmlElement* presence);
76 void FireEnteredStatus(const XmlElement* presence,
79 void FireMessageReceived(const XmlElement& message)
    [all...]
pubsubstateclient.h 19 #include "webrtc/libjingle/xmllite/xmlelement.h"
55 virtual XmlElement* Write(const QName& state_name, const C& state) = 0;
56 virtual void Parse(const XmlElement* state_elem, C* state_out) = 0;
124 XmlElement* state_elem = state_serializer_->Write(state_name_, state);
133 const XmlElement*> SignalPublishResult;
136 const XmlElement*,
137 const XmlElement*> SignalPublishError;
144 const XmlElement* state_elem = item.elem->FirstNamed(state_name_);
225 const XmlElement* item) {
231 const buzz::XmlElement* item
    [all...]
pubsubtasks_unittest.cc 14 #include "webrtc/libjingle/xmllite/xmlelement.h"
63 void OnError(buzz::IqTask* task, const buzz::XmlElement* stanza) {
124 client->HandleStanza(buzz::XmlElement::ForStr(result_iq));
150 client->HandleStanza(buzz::XmlElement::ForStr(result_iq));
176 client->HandleStanza(buzz::XmlElement::ForStr(items_message));
190 buzz::XmlElement* payload =
191 new buzz::XmlElement(buzz::QName(buzz::NS_PUBSUB, "value"));
204 std::vector<buzz::XmlElement*> children;
218 client->HandleStanza(buzz::XmlElement::ForStr(result_iq));
225 buzz::XmlElement* payload
    [all...]
  /external/webrtc/webrtc/libjingle/xmllite/
xmlbuilder.cc 16 #include "webrtc/libjingle/xmllite/xmlelement.h"
24 pvParents_(new std::vector<XmlElement *>()) {
34 XmlElement *
41 XmlElement * pelNew = new XmlElement(tagName);
74 XmlElement * pelNew = BuildElement(pctx, name, atts);
117 XmlElement *
122 XmlElement *
xmlelement_unittest.cc 14 #include "webrtc/libjingle/xmllite/xmlelement.h"
22 using buzz::XmlElement;
30 XmlElement elt(QName("google:test", "first"));
33 XmlElement elt2(QName("google:test", "first"), true);
38 XmlElement elt(QName("google:test", "root"), true);
39 elt.AddElement(new XmlElement(QName("google:test", "first")));
40 elt.AddElement(new XmlElement(QName("google:test", "nested")), 1);
44 elt.AddElement(new XmlElement(QName("google:test", "nested2")), 1);
45 elt.AddElement(new XmlElement(QName("google:test", "second")));
47 elt.AddElement(new XmlElement(QName("google:test", "nested3")), 1)
    [all...]

Completed in 1262 milliseconds

12 3 4 5 6 7