Home | History | Annotate | Download | only in webapp

Lines Matching refs:iq

7  * Module to format IQ messages so they can be displayed in the debug log.
48 * params in the IQ packets.
385 * Print out the heading line for an iq node.
389 * @param {string} desc Description of iq action for this node.
396 var message = 'iq ' + action + ' id=' + id;
407 * Print out an iq 'result'-type node.
412 * @return {?string} Pretty version of Iq result stanza. Null if error.
416 var iq = iq_list[0];
417 var id = iq.getAttribute('id');
418 var iq_children = iq.childNodes;
447 * Print out an Iq 'get'-type node.
452 * @return {?string} Pretty version of Iq get stanza. Null if error.
456 var iq = iq_list[0];
457 var id = iq.getAttribute('id');
458 var iq_children = iq.childNodes;
477 * Print out an iq 'set'-type node.
482 * @return {?string} Pretty version of Iq set stanza. Null if error.
486 var iq = iq_list[0];
487 var id = iq.getAttribute('id');
488 var iq_children = iq.childNodes;
548 * Print out an iq 'error'-type node.
553 * @return {?string} Pretty version of iq error stanza. Null if error parsing
558 var iq = iq_list[0];
559 var id = iq.getAttribute('id');
560 var iq_children = iq.childNodes;
600 * Try to log a pretty-print the given IQ stanza (XML).
606 * @return {?string} Pretty version of the Iq stanza. Null if error.
612 var iq_list = xml.getElementsByTagName('iq');
616 var iq = iq_list[0];
617 if (!this.verifyAttributes(iq, 'xmlns,xmlns:cli,id,to,from,type'))
621 var to = iq.getAttribute('to');
622 var from = iq.getAttribute('from');
655 var type = iq.getAttribute('type');
671 * Return a pretty-formatted string for the IQ stanza being sent.
684 return 'Sending Iq: ' + message;
690 * Return a pretty-formatted string for the IQ stanza that was received.
703 return 'Receiving Iq: ' + message;