TclXMPP

Artifact Content
Login

Artifact 7bd3cfc15d91949581d8b50f5719337120868558:

Attachment "xmpp_diff_report.htm" to ticket [1892586038] added by sgolovan 2015-03-21 19:53:41.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
	"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WinMerge File Compare Report</title>
<style type="text/css">
<!--
td,th {font-size: 12pt;}
.ln {text-align: right; background-color: lightgrey;}
.title {color: white; background-color: blue; vertical-align: top;}
.sf3b2 {color: #000000; background-color: #ffffff; }
.sf3b5 {color: #000000; background-color: #000000; }
.sf3b14 {color: #000000; background-color: #ffa0a0; }
.sf3b16 {color: #000000; background-color: #f1e2ad; }
.sf6b2 {color: #ffffff; background-color: #ffffff; }
.sf6b5 {color: #ffffff; background-color: #000000; }
.sf6b14 {color: #ffffff; background-color: #ffa0a0; }
.sf6b16 {color: #ffffff; background-color: #f1e2ad; }
.sf7b2 {color: #0000ff; background-color: #ffffff; font-weight: bold; }
.sf7b5 {color: #0000ff; background-color: #000000; font-weight: bold; }
.sf7b14 {color: #0000ff; background-color: #ffa0a0; font-weight: bold; }
.sf7b16 {color: #0000ff; background-color: #f1e2ad; font-weight: bold; }
.sf8b2 {color: #800080; background-color: #ffffff; }
.sf8b5 {color: #800080; background-color: #000000; }
.sf8b14 {color: #800080; background-color: #ffa0a0; }
.sf8b16 {color: #800080; background-color: #f1e2ad; }
.sf9b2 {color: #008000; background-color: #ffffff; }
.sf9b5 {color: #008000; background-color: #000000; }
.sf9b14 {color: #008000; background-color: #ffa0a0; }
.sf9b16 {color: #008000; background-color: #f1e2ad; }
.sf10b2 {color: #ff0000; background-color: #ffffff; }
.sf10b5 {color: #ff0000; background-color: #000000; }
.sf10b14 {color: #ff0000; background-color: #ffa0a0; }
.sf10b16 {color: #ff0000; background-color: #f1e2ad; }
.sf11b2 {color: #606060; background-color: #ffffff; }
.sf11b5 {color: #606060; background-color: #000000; }
.sf11b14 {color: #606060; background-color: #ffa0a0; }
.sf11b16 {color: #606060; background-color: #f1e2ad; }
.sf12b2 {color: #800000; background-color: #ffffff; }
.sf12b5 {color: #800000; background-color: #000000; }
.sf12b14 {color: #800000; background-color: #ffa0a0; }
.sf12b16 {color: #800000; background-color: #f1e2ad; }
.sf13b2 {color: #0080c0; background-color: #ffffff; }
.sf13b5 {color: #0080c0; background-color: #000000; }
.sf13b14 {color: #0080c0; background-color: #ffa0a0; }
.sf13b16 {color: #0080c0; background-color: #f1e2ad; }
.sf15b2 {color: #000000; background-color: #ffffff; }
.sf15b5 {color: #000000; background-color: #000000; }
.sf15b14 {color: #000000; background-color: #ffa0a0; }
.sf15b16 {color: #000000; background-color: #f1e2ad; }
.sf17b2 {color: #000000; background-color: #ffffff; }
.sf17b5 {color: #000000; background-color: #000000; }
.sf17b14 {color: #000000; background-color: #ffa0a0; }
.sf17b16 {color: #000000; background-color: #f1e2ad; }
.sf18b2 {color: #000080; background-color: #ffffff; }
.sf18b5 {color: #000080; background-color: #000000; }
.sf18b14 {color: #000080; background-color: #ffa0a0; }
.sf18b16 {color: #000080; background-color: #f1e2ad; }
.sf19b2 {color: #0080c0; background-color: #ffffff; }
.sf19b5 {color: #0080c0; background-color: #000000; }
.sf19b14 {color: #0080c0; background-color: #ffa0a0; }
.sf19b16 {color: #0080c0; background-color: #f1e2ad; }
-->
</style>
</head>
<body>
<table cellspacing="0" cellpadding="0" style="width: 100%; margin: 0; border: none;">
<thead>
<tr>
<th class="title" style="width:0%"></th><th class="title" style="width:50.000000%">C:\Users\kgreen\Documents\_Ixia\NTAF_prod\Q3-2010 demo\tclxmpp_ntaf\xmpp\xmpp.tcl</th>
<th class="title" style="width:0%"></th><th class="title" style="width:50.000000%">C:\Users\kgreen\Documents\_Ixia\NTAF_prod\Q3-2010 demo\tclxmpp-read-only\xmpp\xmpp.tcl</th>
</tr>
</thead>
<tbody>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># xmpp.tcl --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># xmpp.tcl --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; This file is part of the XMPP library. It implements the main library</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; This file is part of the XMPP library. It implements the main library</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; routines.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; routines.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Copyright (c) 2008-2010 Sergei Golovan &lt;sgolovan@nes.ru&gt;</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Copyright (c) 2008-2010 Sergei Golovan &lt;sgolovan@nes.ru&gt;</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># See the file "license.terms" for information on usage and redistribution</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># See the file "license.terms" for information on usage and redistribution</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># of this file, and for a DISCLAMER OF ALL WARRANTIES.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># of this file, and for a DISCLAMER OF ALL WARRANTIES.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># $Id: xmpp.tcl 142 2010-01-29 15:14:25Z sgolovan $</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># $Id: xmpp.tcl 142 2010-01-29 15:14:25Z sgolovan $</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span class="sf17b16">#

</span>&nbsp;</code></td>
<td class="ln"></td><td style="color: #000000; background-color: #c0c0c0; "><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span class="sf17b16"># KG 13-Aug-2010: Added hooks for XML stanza trace callback -xmltracecommand

</span>&nbsp;</code></td>
<td class="ln"></td><td style="color: #000000; background-color: #c0c0c0; "><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span class="sf17b16"># KG 20-Sep-2010: Added missing proc ::xmpp::status

</span>&nbsp;</code></td>
<td class="ln"></td><td style="color: #000000; background-color: #c0c0c0; "><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span class="sf17b16">#

</span>&nbsp;</code></td>
<td class="ln"></td><td style="color: #000000; background-color: #c0c0c0; "><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">msgcat</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">msgcat</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">jid</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">jid</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xml</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xml</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">tcp</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">tcp</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">streamerror</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">streamerror</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">stanzaerror</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">stanzaerror</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">iq</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">iq</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">presence</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">require</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">presence</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">provide</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2"> </span><span class="sf10b2">0.1</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">package</span><span class="sf11b2"> </span><span class="sf3b2">provide</span><span class="sf11b2"> </span><span class="sf3b2">xmpp</span><span class="sf11b2"> </span><span class="sf10b2">0.1</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Default debug level (0: no debug, 1: light debug, 2: heavy debug).</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Default debug level (0: no debug, 1: light debug, 2: heavy debug).</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; ">variable</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">debug</span><span style="color: #000000; background-color: #efcb05; "> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16"> </span><span style="color: #000000; background-color: #efcb05; ">0</span></code></td>
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; ">variable</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">debug</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">0</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::new --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::new --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Create a new XMPP token and assigns client callbacks for XMPP events.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Create a new XMPP token and assigns client callbacks for XMPP events.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; token &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (optional, if missing then token is created</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; token &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (optional, if missing then token is created</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; automatically, if present then it must be a</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; automatically, if present then it must be a</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fully namespaced nonexistent variable) XMPP</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fully namespaced nonexistent variable) XMPP</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; token to create.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; token to create.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -packetcommand &nbsp; &nbsp; cmd &nbsp;(optional) Command to call on every incoming</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -packetcommand &nbsp; &nbsp; cmd &nbsp;(optional) Command to call on every incoming</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XMPP packet except stream errors.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XMPP packet except stream errors.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -messagecommand &nbsp; &nbsp;cmd &nbsp;(optional) Command to call on every XMPP</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -messagecommand &nbsp; &nbsp;cmd &nbsp;(optional) Command to call on every XMPP</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message packet (overrides -packetCommand).</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message packet (overrides -packetCommand).</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -presencecommand &nbsp; cmd &nbsp;(optional) Command to call on every XMPP</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -presencecommand &nbsp; cmd &nbsp;(optional) Command to call on every XMPP</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; presence packet (overrides -packetCommand).</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; presence packet (overrides -packetCommand).</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -disconnectcommand cmd &nbsp;(optional) Command to call on forced disconnect</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -disconnectcommand cmd &nbsp;(optional) Command to call on forced disconnect</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from XMPP server.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from XMPP server.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -statuscommand &nbsp; &nbsp; cmd &nbsp;(optional) Command to call when XMPP connection</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -statuscommand &nbsp; &nbsp; cmd &nbsp;(optional) Command to call when XMPP connection</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; status is changed (e.g. after successful</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; status is changed (e.g. after successful</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; authentication).</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; authentication).</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -errorcommand &nbsp; &nbsp; &nbsp;cmd &nbsp;(optional) Command to call on XMPP stream error</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -errorcommand &nbsp; &nbsp; &nbsp;cmd &nbsp;(optional) Command to call on XMPP stream error</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; packet.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; packet.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span class="sf17b16"># &nbsp; &nbsp; &nbsp; -xmltracecommand &nbsp; cmd &nbsp;(optional) Command to call for each Tx or Rx XML stanza

</span>&nbsp;</code></td>
<td class="ln"></td><td style="color: #000000; background-color: #c0c0c0; "><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; XMPP token name or error if the supplied variable exists or illegal</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; XMPP token name or error if the supplied variable exists or illegal</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; option is listed.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; option is listed.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A new variable is created.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A new variable is created.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">new</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">new</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf3b2">id</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf3b2">id</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf3b2">id</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf3b2">id</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">id</span><span class="sf11b2"> </span><span class="sf10b2">0</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">id</span><span class="sf11b2"> </span><span class="sf10b2">0</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">llength</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">&gt;</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">&amp;</span><span class="sf11b2">&amp;</span><span class="sf11b2"> </span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">match</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">*</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lindex</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">llength</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">&gt;</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">&amp;</span><span class="sf11b2">&amp;</span><span class="sf11b2"> </span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">match</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">*</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lindex</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lindex</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lindex</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lrange</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">1</span><span class="sf11b2"> </span><span class="sf3b2">end</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lrange</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">1</span><span class="sf11b2"> </span><span class="sf3b2">end</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"An existing variable \"%s\" cannot be used\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"An existing variable \"%s\" cannot be used\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf12b2"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;as an XMPP token"</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf12b2"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;as an XMPP token"</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">current</span><span class="sf11b2">]</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf11b2">[</span><span class="sf3b2">incr</span><span class="sf11b2"> </span><span class="sf3b2">id</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">current</span><span class="sf11b2">]</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf11b2">[</span><span class="sf3b2">incr</span><span class="sf11b2"> </span><span class="sf3b2">id</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Variable id always grows but user may occupy some values</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Variable id always grows but user may occupy some values</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">while</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">while</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">current</span><span class="sf11b2">]</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf11b2">[</span><span class="sf3b2">incr</span><span class="sf11b2"> </span><span class="sf3b2">id</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">current</span><span class="sf11b2">]</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf11b2">[</span><span class="sf3b2">incr</span><span class="sf11b2"> </span><span class="sf3b2">id</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">foreach</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf3b2">val</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">foreach</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf3b2">val</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">switch</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">-</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">switch</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">-</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">packetcommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">packetcommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">messagecommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">messagecommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">presencecommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">presencecommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">iqcommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">iqcommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">disconnectcommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">disconnectcommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">statuscommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">statuscommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">errorcommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">errorcommand</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; ">-</span><span style="color: #000000; background-color: #efcb05; ">logcommand</span><span style="color: #000000; background-color: #efcb05; "> </span><span class="sf17b16">-</span>&nbsp;</code></td>
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; ">-</span><span style="color: #000000; background-color: #efcb05; ">logcommand</span><span style="color: #000000; background-color: #efcb05; "> </span><span class="sf17b16">{</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16">-</span><span class="sf17b16">xmltracecommand</span><span class="sf17b16"> </span><span class="sf17b16">{

</span>&nbsp;</code></td>
<td class="ln"></td><td style="color: #000000; background-color: #c0c0c0; "><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">attrs</span><span class="sf11b2">(</span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">attrs</span><span class="sf11b2">(</span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">default</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">default</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"Illegal option \"%s\""</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"Illegal option \"%s\""</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">status</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">disconnected</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">status</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">disconnected</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># A sequence of IQ ids</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># A sequence of IQ ids</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">id</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf10b2">0</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">id</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf10b2">0</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">state</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">get</span><span class="sf11b2"> </span><span class="sf3b2">attrs</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">state</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">get</span><span class="sf11b2"> </span><span class="sf3b2">attrs</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">messagecommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">messagecommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">RegisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">message</span><span class="sf11b2"> </span><span class="sf11b2">*</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">RegisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">message</span><span class="sf11b2"> </span><span class="sf11b2">*</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">ParseMessage</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">ParseMessage</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">presencecommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">presencecommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">RegisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">presence</span><span class="sf11b2"> </span><span class="sf11b2">*</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">RegisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">presence</span><span class="sf11b2"> </span><span class="sf11b2">*</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">ParsePresence</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">ParsePresence</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">packetcommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">|</span><span class="sf11b2">|</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">packetcommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">|</span><span class="sf11b2">|</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">iqcommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">iqcommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">RegisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">iq</span><span class="sf11b2"> </span><span class="sf11b2">*</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">RegisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">iq</span><span class="sf11b2"> </span><span class="sf11b2">*</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">ParseIQ</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">ParseIQ</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">RegisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">RegisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">ParseStreamError</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">ParseStreamError</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">RegisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">features</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">RegisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">features</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">ParseStreamFeatures</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">ParseStreamFeatures</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">""</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">""</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::free --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::free --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Destroy an existing XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Destroy an existing XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token to destroy.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token to destroy.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string or error if the token is still connected.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string or error if the token is still connected.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; The variable which contains token state is destroyed.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; The variable which contains token state is destroyed.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">free</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">free</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">""</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">""</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">status</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">disconnected</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">status</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">disconnected</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"Free without disconnect"</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"Free without disconnect"</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">messagecommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">messagecommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">UnregisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">message</span><span class="sf11b2"> </span><span class="sf11b2">*</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">UnregisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">message</span><span class="sf11b2"> </span><span class="sf11b2">*</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">presencecommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">presencecommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">UnregisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">presence</span><span class="sf11b2"> </span><span class="sf11b2">*</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">UnregisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">presence</span><span class="sf11b2"> </span><span class="sf11b2">*</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">packetcommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">packetcommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">UnregisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">iq</span><span class="sf11b2"> </span><span class="sf11b2">*</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">UnregisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">iq</span><span class="sf11b2"> </span><span class="sf11b2">*</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">UnregisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">UnregisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">UnregisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">features</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">UnregisterElement</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">features</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::connect --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::connect --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Connect to XMPP server.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Connect to XMPP server.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; host &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(optional, defaults to "localhost") Server name</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; host &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(optional, defaults to "localhost") Server name</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; to connect. It isn't used when transport is</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; to connect. It isn't used when transport is</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "poll".</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "poll".</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; port &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(optional, defaults to 5222) Port to connect.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; port &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(optional, defaults to 5222) Port to connect.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; It isn't used for "poll" transport.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; It isn't used for "poll" transport.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -transport transport &nbsp; &nbsp;(optional, defaults to "tcp") Transport to use</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -transport transport &nbsp; &nbsp;(optional, defaults to "tcp") Transport to use</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; when connecting to an XMPP server. May be one</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; when connecting to an XMPP server. May be one</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; of "tcp", "tls", "poll", "zlib" (though none of</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; of "tcp", "tls", "poll", "zlib" (though none of</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the servers support zlib compressed sockets</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the servers support zlib compressed sockets</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; without prior negotiating).</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; without prior negotiating).</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -command cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(optional) If present then the connection</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -command cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(optional) If present then the connection</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; becomes asynchronous and the command is called</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; becomes asynchronous and the command is called</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; upon connection success or failure. Otherwise</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; upon connection success or failure. Otherwise</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the connection is in synchronous mode.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the connection is in synchronous mode.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Other arguments are passed unchanged to corresponding transport open</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Other arguments are passed unchanged to corresponding transport open</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; routine.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; routine.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string on success or error on failure in synchronous mode.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string on success or error on failure in synchronous mode.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Connection token to make it possible to abort connection in</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Connection token to make it possible to abort connection in</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; asynchronous mode.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; asynchronous mode.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A new connection to an XMPP server is started (or is opened). In</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A new connection to an XMPP server is started (or is opened). In</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; synchronous mode connection status is set to "connected". In</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; synchronous mode connection status is set to "connected". In</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; asynchronous mode an abort command is stored to be called if a user</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; asynchronous mode an abort command is stored to be called if a user</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; will decide to abort connection procedure.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; will decide to abort connection procedure.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">connect</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">connect</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">status</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">disconnected</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">status</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">disconnected</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># TODO: Should we use ForcedDisconnect or call back?</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># TODO: Should we use ForcedDisconnect or call back?</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">disconnect</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">disconnect</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2"> </span><span class="sf3b2">tcp</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2"> </span><span class="sf3b2">tcp</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">host</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">localhost</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">host</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">localhost</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">port</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf10b2">5222</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">port</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf10b2">5222</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">argList</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">argList</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">match</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">*</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lindex</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">match</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">*</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lindex</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">host</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lindex</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">host</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lindex</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lrange</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">1</span><span class="sf11b2"> </span><span class="sf3b2">end</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lrange</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">1</span><span class="sf11b2"> </span><span class="sf3b2">end</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">match</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">*</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lindex</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">match</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">*</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lindex</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">port</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lindex</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">port</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lindex</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lrange</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">1</span><span class="sf11b2"> </span><span class="sf3b2">end</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">lrange</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf10b2">1</span><span class="sf11b2"> </span><span class="sf3b2">end</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">foreach</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf3b2">val</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">foreach</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf3b2">val</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">switch</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">-</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">switch</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">-</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">transport</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">transport</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">command</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">command</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">default</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">{</span><span class="sf3b2">lappend</span><span class="sf11b2"> </span><span class="sf3b2">argList</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">default</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">{</span><span class="sf3b2">lappend</span><span class="sf11b2"> </span><span class="sf3b2">argList</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$host $port $transport"</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$host $port $transport"</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># TODO: Allow abortions in synchronous mode too.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># TODO: Allow abortions in synchronous mode too.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Propagate error (if any) up.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Propagate error (if any) up.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">open</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">transport</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">host</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">port</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">open</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">transport</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">host</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">port</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">streamheadercommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">streamheadercommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">GotStream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">ok</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">GotStream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">ok</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">streamtrailercommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">streamtrailercommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">EndOfParse</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">EndOfParse</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">stanzacommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">stanzacommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">Parse</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">Parse</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">eofcommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">eofcommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">EndOfFile</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">EndOfFile</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">$</span><span class="sf3b2">argList</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">$</span><span class="sf3b2">argList</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">status</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">connected</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">status</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">connected</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">token</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">token</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">open</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">transport</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">host</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">port</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">open</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">transport</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">host</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">port</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">streamheadercommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">streamheadercommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">GotStream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">ok</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">GotStream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">ok</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">streamtrailercommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">streamtrailercommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">EndOfParse</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">EndOfParse</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">stanzacommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">stanzacommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">Parse</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">Parse</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">eofcommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">eofcommand</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">EndOfFile</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">EndOfFile</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">command</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">command</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">ConnectAux</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">ConnectAux</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">$</span><span class="sf3b2">argList</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">$</span><span class="sf3b2">argList</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">use</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">token</span><span class="sf11b2"> </span><span class="sf3b2">abort</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">use</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">token</span><span class="sf11b2"> </span><span class="sf3b2">abort</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">token</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">token</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::ConnectAux --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::ConnectAux --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A helper procedure which calls back with connection to XMPP server</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A helper procedure which calls back with connection to XMPP server</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; result.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; result.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Callback to call.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Callback to call.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; status &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"ok", "error", "abort", or "timeout".</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; status &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"ok", "error", "abort", or "timeout".</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; msg &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Transport token in case of success or error message in</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; msg &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Transport token in case of success or error message in</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case of failure.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case of failure.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A callback is called and a stored abort command is emptied (it is no</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A callback is called and a stored abort command is emptied (it is no</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; longer needed as the connect procedure is finished).</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; longer needed as the connect procedure is finished).</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">ConnectAux</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2"> </span><span class="sf3b2">status</span><span class="sf11b2"> </span><span class="sf3b2">msg</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">ConnectAux</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2"> </span><span class="sf3b2">status</span><span class="sf11b2"> </span><span class="sf3b2">msg</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">catch</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">catch</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">status</span><span class="sf11b2"> </span><span class="sf3b2">ok</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">status</span><span class="sf11b2"> </span><span class="sf3b2">ok</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">msg</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">msg</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">status</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">connected</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">status</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">connected</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">uplevel</span><span class="sf11b2"> </span><span class="sf9b2">#0 $cmd [list ok ""]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">uplevel</span><span class="sf11b2"> </span><span class="sf9b2">#0 $cmd [list ok ""]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">uplevel</span><span class="sf11b2"> </span><span class="sf9b2">#0 $cmd [list $status $msg]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">uplevel</span><span class="sf11b2"> </span><span class="sf9b2">#0 $cmd [list $status $msg]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::openStream --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::openStream --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Open XMPP stream over the already opened connection.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Open XMPP stream over the already opened connection.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; server &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP server to which the stream is opened.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; server &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP server to which the stream is opened.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -xmlns:stream ns (optional, defaults to</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -xmlns:stream ns (optional, defaults to</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; http://etherx.jabber.org/streams, if present must be</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; http://etherx.jabber.org/streams, if present must be</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; http://etherx.jabber.org/streams). XMLNS for stream</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; http://etherx.jabber.org/streams). XMLNS for stream</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; prefix.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; prefix.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -xmlns xmlns &nbsp; &nbsp;(optional, defaults to jabber:client) Stream default</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -xmlns xmlns &nbsp; &nbsp;(optional, defaults to jabber:client) Stream default</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XMLNS.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XMLNS.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -xml:lang lang &nbsp;(optional, defaults to language from msgcat</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -xml:lang lang &nbsp;(optional, defaults to language from msgcat</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; preferences) Stream default xml:lang attribute.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; preferences) Stream default xml:lang attribute.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -version ver &nbsp; &nbsp;(optional) Stream XMPP version. Must be "1.0" if any</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -version ver &nbsp; &nbsp;(optional) Stream XMPP version. Must be "1.0" if any</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XMPP feature is used (SASL, STARTTLS, stream</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XMPP feature is used (SASL, STARTTLS, stream</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; compression).</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; compression).</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -timeout num &nbsp; &nbsp;(optional, defaults to 0 which means infinity) Timeout</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -timeout num &nbsp; &nbsp;(optional, defaults to 0 which means infinity) Timeout</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; after which the operation is finished with failure.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; after which the operation is finished with failure.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -command cmd &nbsp; &nbsp;(optional) If present then the stream opens in</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; -command cmd &nbsp; &nbsp;(optional) If present then the stream opens in</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; asynchronous mode and the command "cmd" is called upon</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; asynchronous mode and the command "cmd" is called upon</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; success or failure. Otherwise the mode is synchronous.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; success or failure. Otherwise the mode is synchronous.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; The same as in [OpenStreamAux].</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; The same as in [OpenStreamAux].</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; The same as in [OpenStreamAux]. Also, server state variable is set.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; The same as in [OpenStreamAux]. Also, server state variable is set.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">openStream</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">server</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">openStream</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">server</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$server $args"</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$server $args"</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">server</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">server</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">server</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">server</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">OpenStreamAux</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">OpenStreamAux</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::ReopenStream --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::ReopenStream --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Reset underlying XML parser and reopen XMPP stream. This procedure</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Reset underlying XML parser and reopen XMPP stream. This procedure</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; is useful when changing transport (from tcp to tls or zlib) and</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; is useful when changing transport (from tcp to tls or zlib) and</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; when resetting stream after SASL authentication. It's never called</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; when resetting stream after SASL authentication. It's never called</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; by user directly.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; by user directly.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; args &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Additional arguments to pass to OpenStreamAux. They are</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; args &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Additional arguments to pass to OpenStreamAux. They are</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the same as for [openStream]. But usually the only</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the same as for [openStream]. But usually the only</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; useful options are -command and -timeout.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; useful options are -command and -timeout.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; The same as in [OpenStreamAux].</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; The same as in [OpenStreamAux].</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; In addition to [OpenStreamAux] side effects, an XML parser in transport</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; In addition to [OpenStreamAux] side effects, an XML parser in transport</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; is reset.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; is reset.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">ReopenStream</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">ReopenStream</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$args"</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$args"</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">use</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">reset</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">use</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">reset</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Unset features variable to remove possible trace.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Unset features variable to remove possible trace.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf3b2">state</span><span class="sf11b2"> </span><span class="sf3b2">features</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf3b2">state</span><span class="sf11b2"> </span><span class="sf3b2">features</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">version</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">version</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">vargs</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">version</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">version</span><span class="sf11b2">)</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">vargs</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">version</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">version</span><span class="sf11b2">)</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">vargs</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">vargs</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">OpenStreamAux</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">OpenStreamAux</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2">:</span><span class="sf3b2">stream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2">:</span><span class="sf3b2">stream</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2">:</span><span class="sf3b2">stream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2">:</span><span class="sf3b2">stream</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf3b2">lang</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf3b2">lang</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">vargs</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf3b2">lang</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf3b2">lang</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">vargs</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::OpenStreamAux --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::OpenStreamAux --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A helper procedure which contains common code for opening and</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A helper procedure which contains common code for opening and</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; reopening XMPP streams.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; reopening XMPP streams.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; The same as for openStream (except server which is taken from state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; The same as for openStream (except server which is taken from state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; variable).</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; variable).</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string in asynchronous mode, session id or error in synchronous</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string in asynchronous mode, session id or error in synchronous</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; mode.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; mode.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Stream header is sent to an open channel. An abort command is stored</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Stream header is sent to an open channel. An abort command is stored</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; to be called if a user will decide to abort stream opening procedure.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; to be called if a user will decide to abort stream opening procedure.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Bugs:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Bugs:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Only stream XMLNS http://etherx.jabber.org/streams is supported.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Only stream XMLNS http://etherx.jabber.org/streams is supported.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; On the other hand there's no other defined stream XMLNS currently.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; On the other hand there's no other defined stream XMLNS currently.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">OpenStreamAux</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">OpenStreamAux</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">params</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2">:</span><span class="sf3b2">stream</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">params</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2">:</span><span class="sf3b2">stream</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf3b2">jabber</span><span class="sf11b2">:</span><span class="sf3b2">client</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf3b2">jabber</span><span class="sf11b2">:</span><span class="sf3b2">client</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf3b2">lang</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">lang</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf3b2">lang</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">lang</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">state</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">get</span><span class="sf11b2"> </span><span class="sf3b2">params</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">state</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">get</span><span class="sf11b2"> </span><span class="sf3b2">params</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf10b2">0</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf10b2">0</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">foreach</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf3b2">val</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">foreach</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf3b2">val</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">switch</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">-</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">switch</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">-</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2">:</span><span class="sf3b2">stream</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2">:</span><span class="sf3b2">stream</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"Unsupported stream XMLNS \"%s\""</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"Unsupported stream XMLNS \"%s\""</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf3b2">lang</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf3b2">lang</span><span class="sf11b2"> </span><span class="sf11b2">-</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">version</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">version</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">params</span><span class="sf11b2">(</span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">params</span><span class="sf11b2">(</span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">command</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">command</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStreamCommand</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStreamCommand</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">val</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">default</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">default</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"Illegal option \"%s\""</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"Illegal option \"%s\""</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">key</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">$</span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf11b2">&gt;</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">$</span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf11b2">&gt;</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">streamAfterId</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">streamAfterId</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">after</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">GotStream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">}</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">after</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">GotStream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">}</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Stream may be reopened inside STARTTLS, or compression, or SASL</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Stream may be reopened inside STARTTLS, or compression, or SASL</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># procedure, so set abort command only if it isn't defined already.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># procedure, so set abort command only if it isn't defined already.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">GotStream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">abort</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">}</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">GotStream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">abort</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">}</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">use</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">openStream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">server</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">use</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">openStream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">server</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">get</span><span class="sf11b2"> </span><span class="sf3b2">params</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">array</span><span class="sf11b2"> </span><span class="sf3b2">get</span><span class="sf11b2"> </span><span class="sf3b2">params</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStreamCommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStreamCommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Asynchronous mode</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Asynchronous mode</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf12b2">""</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf12b2">""</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Synchronous mode</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Synchronous mode</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">vwait</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">\</span><span class="sf11b2">(</span><span class="sf3b2">openStatus</span><span class="sf11b2">)</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">vwait</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">\</span><span class="sf11b2">(</span><span class="sf3b2">openStatus</span><span class="sf11b2">)</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStatus</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">timeout</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStatus</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">timeout</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">sessionID</span><span class="sf11b2">)</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">sessionID</span><span class="sf11b2">)</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">sessionID</span><span class="sf11b2">)</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">sessionID</span><span class="sf11b2">)</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::GotStream --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::GotStream --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A helper procedure which is invoked when an incoming XMPP stream</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A helper procedure which is invoked when an incoming XMPP stream</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; header is parsed by a transport. It finishes headers exchange.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; header is parsed by a transport. It finishes headers exchange.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; status &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"ok", "abort", or "timeout".</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; status &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"ok", "abort", or "timeout".</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; attrs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List of XMPP stream attributes.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; attrs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List of XMPP stream attributes.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A callback is called in asynchronous mode or [vwait] is triggered</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A callback is called in asynchronous mode or [vwait] is triggered</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; in synchronous mode. Also, a stored abort command is emptied (it is no</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; in synchronous mode. Also, a stored abort command is emptied (it is no</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; longer needed as the connect procedure is finished).</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; longer needed as the connect procedure is finished).</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">GotStream</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">status</span><span class="sf11b2"> </span><span class="sf3b2">attrs</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">GotStream</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">status</span><span class="sf11b2"> </span><span class="sf3b2">attrs</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># state(abortCommand) must exist, otherwise it's a stale stream</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># state(abortCommand) must exist, otherwise it's a stale stream</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"Stale stream: $status $attrs"</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"Stale stream: $status $attrs"</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$status $attrs"</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$status $attrs"</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">status</span><span class="sf11b2"> </span><span class="sf3b2">ok</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">status</span><span class="sf11b2"> </span><span class="sf3b2">ok</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">msg</span><span class="sf11b2"> </span><span class="sf12b2">"&lt;stream:stream "</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">msg</span><span class="sf11b2"> </span><span class="sf12b2">"&lt;stream:stream "</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">foreach</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">attr</span><span class="sf11b2"> </span><span class="sf3b2">val</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">attrs</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">foreach</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">attr</span><span class="sf11b2"> </span><span class="sf3b2">val</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">attrs</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">append</span><span class="sf11b2"> </span><span class="sf3b2">msg</span><span class="sf11b2"> </span><span class="sf12b2">" $attr='[xml::Escape $val]'"</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">append</span><span class="sf11b2"> </span><span class="sf3b2">msg</span><span class="sf11b2"> </span><span class="sf12b2">" $attr='[xml::Escape $val]'"</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">append</span><span class="sf11b2"> </span><span class="sf3b2">msg</span><span class="sf11b2"> </span><span class="sf12b2">"&gt;"</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">append</span><span class="sf11b2"> </span><span class="sf3b2">msg</span><span class="sf11b2"> </span><span class="sf12b2">"&gt;"</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">CallBack</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">log</span><span class="sf11b2"> </span><span class="sf3b2">input</span><span class="sf11b2"> </span><span class="sf3b2">text</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">msg</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">CallBack</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">log</span><span class="sf11b2"> </span><span class="sf3b2">input</span><span class="sf11b2"> </span><span class="sf3b2">text</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">msg</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStreamCommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStreamCommand</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStreamCommand</span><span class="sf11b2">)</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStreamCommand</span><span class="sf11b2">)</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStreamCommand</span><span class="sf11b2">)</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStreamCommand</span><span class="sf11b2">)</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">streamAfterId</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">streamAfterId</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">after</span><span class="sf11b2"> </span><span class="sf3b2">cancel</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">streamAfterId</span><span class="sf11b2">)</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">after</span><span class="sf11b2"> </span><span class="sf3b2">cancel</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">streamAfterId</span><span class="sf11b2">)</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">streamAfterId</span><span class="sf11b2">)</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">streamAfterId</span><span class="sf11b2">)</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Stream may be reopened inside STARTTLS, or compression, or SASL</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Stream may be reopened inside STARTTLS, or compression, or SASL</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># procedure, so unset abort command only if it was set in [openStream]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># procedure, so unset abort command only if it was set in [openStream]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">GotStream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">abort</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">}</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">GotStream</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">abort</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">}</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">catch</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">catch</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">unset</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">abortCommand</span><span class="sf11b2">)</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">switch</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">-</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">status</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">switch</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf11b2">-</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">status</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">timeout</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">sessionID</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"Opening stream timed out"</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">sessionID</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"Opening stream timed out"</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Trigger vwait in [openStream] in synchronous mode</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Trigger vwait in [openStream] in synchronous mode</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStatus</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">status</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStatus</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">status</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Invoke callback in asynchronous mode</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Invoke callback in asynchronous mode</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">uplevel</span><span class="sf11b2"> </span><span class="sf9b2">#0 $cmd [list $status $state(sessionID)]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">uplevel</span><span class="sf11b2"> </span><span class="sf9b2">#0 $cmd [list $status $state(sessionID)]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">abort</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">abort</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">sessionID</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"Opening stream aborted"</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">sessionID</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">msgcat</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">mc</span><span class="sf11b2"> </span><span class="sf12b2">"Opening stream aborted"</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Trigger vwait in [openStream] in synchronous mode</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Trigger vwait in [openStream] in synchronous mode</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStatus</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">status</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStatus</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">status</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Invoke callback in asynchronous mode</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Invoke callback in asynchronous mode</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">uplevel</span><span class="sf11b2"> </span><span class="sf9b2">#0 $cmd [list $status $state(sessionID)]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">uplevel</span><span class="sf11b2"> </span><span class="sf9b2">#0 $cmd [list $status $state(sessionID)]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">isAttr</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">attrs</span><span class="sf11b2"> </span><span class="sf3b2">from</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">isAttr</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">attrs</span><span class="sf11b2"> </span><span class="sf3b2">from</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Sometimes server (ejabberd is known to) returns 'from'</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Sometimes server (ejabberd is known to) returns 'from'</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># attribute which differs from 'to' attribute sent to the server.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># attribute which differs from 'to' attribute sent to the server.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># If XMLNS is 'jabber:component:accept' then the address in 'from'</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># If XMLNS is 'jabber:component:accept' then the address in 'from'</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># attribute is ignored.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># attribute is ignored.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">jabber</span><span class="sf11b2">:</span><span class="sf3b2">component</span><span class="sf11b2">:</span><span class="sf3b2">accept</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">equal</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">jabber</span><span class="sf11b2">:</span><span class="sf3b2">component</span><span class="sf11b2">:</span><span class="sf3b2">accept</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">server</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">getAttr</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">attrs</span><span class="sf11b2"> </span><span class="sf3b2">from</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">server</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">getAttr</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">attrs</span><span class="sf11b2"> </span><span class="sf3b2">from</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">version</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">getAttr</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">attrs</span><span class="sf11b2"> </span><span class="sf3b2">version</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">version</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">getAttr</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">attrs</span><span class="sf11b2"> </span><span class="sf3b2">version</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">is</span><span class="sf11b2"> </span><span class="sf3b2">double</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">strict</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">version</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">!</span><span class="sf11b2">[</span><span class="sf3b2">string</span><span class="sf11b2"> </span><span class="sf3b2">is</span><span class="sf11b2"> </span><span class="sf3b2">double</span><span class="sf11b2"> </span><span class="sf11b2">-</span><span class="sf3b2">strict</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">version</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">version</span><span class="sf11b2"> </span><span class="sf10b2">0.0</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">version</span><span class="sf11b2"> </span><span class="sf10b2">0.0</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">sessionID</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">getAttr</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">attrs</span><span class="sf11b2"> </span><span class="sf3b2">id</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf3b2">sessionID</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">getAttr</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">attrs</span><span class="sf11b2"> </span><span class="sf3b2">id</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"server = $state(server), sessionID = $sessionID,\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"server = $state(server), sessionID = $sessionID,\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf12b2"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; version = $version"</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf12b2"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; version = $version"</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">$</span><span class="sf3b2">version</span><span class="sf11b2"> </span><span class="sf11b2">&lt;</span><span class="sf11b2"> </span><span class="sf10b2">1.0</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">$</span><span class="sf3b2">version</span><span class="sf11b2"> </span><span class="sf11b2">&lt;</span><span class="sf11b2"> </span><span class="sf10b2">1.0</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Register iq-auth and iq-register namespaces to allow</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Register iq-auth and iq-register namespaces to allow</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># authenticate and register in-band on pre-XMPP server</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># authenticate and register in-band on pre-XMPP server</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">ParseStreamFeatures</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">ParseStreamFeatures</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">create</span><span class="sf11b2"> </span><span class="sf3b2">features</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">create</span><span class="sf11b2"> </span><span class="sf3b2">features</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">etherx</span><span class="sf11b2">.</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">streams</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">subelement</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">subelement</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">create</span><span class="sf11b2"> </span><span class="sf3b2">auth</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">create</span><span class="sf11b2"> </span><span class="sf3b2">auth</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">features</span><span class="sf11b2">/</span><span class="sf3b2">iq</span><span class="sf11b2">-</span><span class="sf3b2">auth</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">features</span><span class="sf11b2">/</span><span class="sf3b2">iq</span><span class="sf11b2">-</span><span class="sf3b2">auth</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">subelement</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">subelement</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">create</span><span class="sf11b2"> </span><span class="sf3b2">register</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">create</span><span class="sf11b2"> </span><span class="sf3b2">register</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">features</span><span class="sf11b2">/</span><span class="sf3b2">iq</span><span class="sf11b2">-</span><span class="sf3b2">register</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">-</span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf3b2">http</span><span class="sf11b2">:</span><span class="sf11b2">/</span><span class="sf11b2">/</span><span class="sf3b2">jabber</span><span class="sf11b2">.</span><span class="sf3b2">org</span><span class="sf11b2">/</span><span class="sf3b2">features</span><span class="sf11b2">/</span><span class="sf3b2">iq</span><span class="sf11b2">-</span><span class="sf3b2">register</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">status</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">streamOpened</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">status</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">streamOpened</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">sessionID</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">sessionID</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">sessionID</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">sessionID</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Trigger vwait in [openStream] in synchronous mode</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Trigger vwait in [openStream] in synchronous mode</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStatus</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">status</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">openStatus</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">status</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Invoke callback in asynchronous mode</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Invoke callback in asynchronous mode</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">uplevel</span><span class="sf11b2"> </span><span class="sf9b2">#0 $cmd [list $status $sessionID]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">uplevel</span><span class="sf11b2"> </span><span class="sf9b2">#0 $cmd [list $status $sessionID]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::ParseStreamFeatures --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::ParseStreamFeatures --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A helper procedure which is called when stream features are received.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A helper procedure which is called when stream features are received.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; It stores features list (as a list of XML elements, because it may be</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; It stores features list (as a list of XML elements, because it may be</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; a deep list) in a variable. This procedure is registered as a handler</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; a deep list) in a variable. This procedure is registered as a handler</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; for features element in http://etherx.jabber.org/streams XMLNS in</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; for features element in http://etherx.jabber.org/streams XMLNS in</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; [new].</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; [new].</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xmlElement &nbsp; &nbsp; &nbsp;Features XML element to store.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xmlElement &nbsp; &nbsp; &nbsp;Features XML element to store.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Features list is stored in a state variable.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Features list is stored in a state variable.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">ParseStreamFeatures</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">xmlElement</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">ParseStreamFeatures</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">xmlElement</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$xmlElement"</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$xmlElement"</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">split</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xmlElement</span><span class="sf11b2"> </span><span class="sf3b2">tag</span><span class="sf11b2"> </span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf3b2">attrs</span><span class="sf11b2"> </span><span class="sf3b2">cdata</span><span class="sf11b2"> </span><span class="sf3b2">subels</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">xml</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">split</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xmlElement</span><span class="sf11b2"> </span><span class="sf3b2">tag</span><span class="sf11b2"> </span><span class="sf3b2">xmlns</span><span class="sf11b2"> </span><span class="sf3b2">attrs</span><span class="sf11b2"> </span><span class="sf3b2">cdata</span><span class="sf11b2"> </span><span class="sf3b2">subels</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">features</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">subels</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">features</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">subels</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::TraceStreamFeatures --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::TraceStreamFeatures --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Call the specified command back if stream features are already</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Call the specified command back if stream features are already</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; received, or set a trace to call the command upon receiving them.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; received, or set a trace to call the command upon receiving them.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Trace syntax is old-style to make it work in Tcl 8.3.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Trace syntax is old-style to make it work in Tcl 8.3.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Command to call.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Command to call.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; If stream features aren't received yet then a trace is added for</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; If stream features aren't received yet then a trace is added for</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; variable state(features).</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; variable state(features).</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">TraceStreamFeatures</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">TraceStreamFeatures</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">features</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf7b2">if</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf11b2">[</span><span class="sf3b2">info</span><span class="sf11b2"> </span><span class="sf3b2">exists</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">features</span><span class="sf11b2">)</span><span class="sf11b2">]</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">after</span><span class="sf11b2"> </span><span class="sf3b2">idle</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">cmd</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">features</span><span class="sf11b2">)</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">after</span><span class="sf11b2"> </span><span class="sf3b2">idle</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">cmd</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">features</span><span class="sf11b2">)</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf7b2">else</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Variable state(features) must not be set outside ParseStreamFeatures,</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># Variable state(features) must not be set outside ParseStreamFeatures,</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># to prevent spurious trace callback triggering.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf9b2"># to prevent spurious trace callback triggering.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">trace</span><span class="sf11b2"> </span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">\</span><span class="sf11b2">(</span><span class="sf3b2">features</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">w</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">trace</span><span class="sf11b2"> </span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">\</span><span class="sf11b2">(</span><span class="sf3b2">features</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">w</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">TraceStreamFeaturesAux</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">TraceStreamFeaturesAux</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::TraceStreamFeaturesAux --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::TraceStreamFeaturesAux --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A helper procedure which is called by a trace of state(features)</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A helper procedure which is called by a trace of state(features)</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; variable. It in turn removes trace and calls a specified command back.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; variable. It in turn removes trace and calls a specified command back.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Trace syntax is old-style to make it work in Tcl 8.3.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Trace syntax is old-style to make it work in Tcl 8.3.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Command to call.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Command to call.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; args &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Arguments, added by trace.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; args &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Arguments, added by trace.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Trace of state(features) variable is removed.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Trace of state(features) variable is removed.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">TraceStreamFeaturesAux</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">TraceStreamFeaturesAux</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">RemoveTraceStreamFeatures</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">cmd</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">RemoveTraceStreamFeatures</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">cmd</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">uplevel</span><span class="sf11b2"> </span><span class="sf9b2">#0 $cmd [list $state(features)]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">uplevel</span><span class="sf11b2"> </span><span class="sf9b2">#0 $cmd [list $state(features)]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::RemoveTraceStreamFeatures --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::RemoveTraceStreamFeatures --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Remove trace of state(features) variable if it's set. This procedure</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Remove trace of state(features) variable if it's set. This procedure</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; may be called in case if it's needed to abort connection process, or</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; may be called in case if it's needed to abort connection process, or</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; in case when stream features are received (see</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; in case when stream features are received (see</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; [TraceStreamFeaturesAux]).</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; [TraceStreamFeaturesAux]).</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Command that was to be called.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Command that was to be called.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Trace of state(features) is removed if it was set.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Trace of state(features) is removed if it was set.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">RemoveTraceStreamFeatures</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">RemoveTraceStreamFeatures</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">cmd</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">trace</span><span class="sf11b2"> </span><span class="sf3b2">vdelete</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">\</span><span class="sf11b2">(</span><span class="sf3b2">features</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">w</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">trace</span><span class="sf11b2"> </span><span class="sf3b2">vdelete</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2">\</span><span class="sf11b2">(</span><span class="sf3b2">features</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">w</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">TraceStreamFeaturesAux</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">namespace</span><span class="sf11b2"> </span><span class="sf3b2">code</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">TraceStreamFeaturesAux</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">cmd</span><span class="sf11b2">]</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::ParseStreamError --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::ParseStreamError --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A helper procedure which is called when stream error is received.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A helper procedure which is called when stream error is received.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; It calls back error command (-errorcommand option in [new]) with</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; It calls back error command (-errorcommand option in [new]) with</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; appended error message. This procedure is registered as a handler</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; appended error message. This procedure is registered as a handler</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; for error element in http://etherx.jabber.org/streams XMLNS in [new].</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; for error element in http://etherx.jabber.org/streams XMLNS in [new].</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xmlElement &nbsp; &nbsp; &nbsp;Stream error XML element.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xmlElement &nbsp; &nbsp; &nbsp;Stream error XML element.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A client error callback is invoked.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; A client error callback is invoked.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">ParseStreamError</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">xmlElement</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">ParseStreamError</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">xmlElement</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$xmlElement"</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$xmlElement"</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">CallBack</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">streamerror</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">condition</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xmlElement</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">CallBack</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">error</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">streamerror</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">condition</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xmlElement</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">streamerror</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">message</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xmlElement</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">streamerror</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">message</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xmlElement</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::SwitchTransport --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::SwitchTransport --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Switch XMPP transport. This procedure is helpful if STARTTLS or</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Switch XMPP transport. This procedure is helpful if STARTTLS or</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; stream compression over TCP is used.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; stream compression over TCP is used.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; transport &nbsp; &nbsp; &nbsp; Transport name to switch to.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; transport &nbsp; &nbsp; &nbsp; Transport name to switch to.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string or error.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Empty string or error.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Transport is changed if it's possible.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Transport is changed if it's possible.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">SwitchTransport</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">SwitchTransport</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2"> </span><span class="sf3b2">args</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$transport"</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$transport"</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">set</span><span class="sf11b2"> </span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">\</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">switch</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">transport</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2">]</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2">[</span><span class="sf3b2">eval</span><span class="sf11b2"> </span><span class="sf11b2">[</span><span class="sf3b2">list</span><span class="sf11b2"> </span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">switch</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">transport</span><span class="sf11b2">]</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">args</span><span class="sf11b2">]</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">return</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::outXML --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::outXML --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Output XML element to an XMPP channel.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Output XML element to an XMPP channel.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xmlElement &nbsp; &nbsp; &nbsp;XML element to send.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xmlElement &nbsp; &nbsp; &nbsp;XML element to send.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Length of the sent textual XML representation.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Length of the sent textual XML representation.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; XML element is sent to the server.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; XML element is sent to the server.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">outXML</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">xmlElement</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">outXML</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">xmlElement</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span class="sf17b16">set</span><span class="sf17b16"> </span><span class="sf17b16">xmlString</span><span class="sf17b16"> </span><span class="sf17b16">"[xml::toTabbedText</span><span style="color: #000000; background-color: #efcb05; "> $xmlElement]"</span>&nbsp;</code></td>
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span style="color: #000000; background-color: #efcb05; "> </span><span style="color: #000000; background-color: #efcb05; ">&nbsp;</span><span class="sf17b16">Debug</span><span class="sf17b16"> </span><span class="sf17b16">$</span><span class="sf17b16">xlib</span><span class="sf17b16"> </span><span class="sf17b16">2</span><span class="sf17b16"> </span><span class="sf17b16">"[xml::toText</span><span style="color: #000000; background-color: #efcb05; "> $xmlElement]"</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16">Debug</span><span class="sf17b16"> </span><span class="sf17b16">$</span><span class="sf17b16">xlib</span><span class="sf17b16"> </span><span class="sf17b16">2</span><span class="sf17b16"> </span><span class="sf17b16">$</span><span class="sf17b16">xmlString

</span>&nbsp;</code></td>
<td class="ln"></td><td style="color: #000000; background-color: #c0c0c0; "><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td style="color: #000000; background-color: #efcb05; "><code><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16"> </span><span class="sf17b16">&nbsp;</span><span class="sf17b16">CallBack</span><span class="sf17b16"> </span><span class="sf17b16">$</span><span class="sf17b16">xlib</span><span class="sf17b16"> </span><span class="sf17b16">xmltrace</span><span class="sf17b16"> </span><span class="sf17b16">TX</span><span class="sf17b16"> </span><span class="sf17b16">$</span><span class="sf17b16">xmlString

</span>&nbsp;</code></td>
<td class="ln"></td><td style="color: #000000; background-color: #c0c0c0; "><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">CallBack</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">log</span><span class="sf11b2"> </span><span class="sf3b2">output</span><span class="sf11b2"> </span><span class="sf3b2">xml</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xmlElement</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">CallBack</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">log</span><span class="sf11b2"> </span><span class="sf3b2">output</span><span class="sf11b2"> </span><span class="sf3b2">xml</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xmlElement</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">use</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">outXML</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xmlElement</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">transport</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">use</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf8b2">state</span><span class="sf11b2">(</span><span class="sf3b2">transport</span><span class="sf11b2">)</span><span class="sf11b2"> </span><span class="sf3b2">outXML</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xmlElement</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2">}</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::outText --</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># ::xmpp::outText --</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Output text string to an XMPP channel. If the text doesn't represent</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Output text string to an XMPP channel. If the text doesn't represent</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; valid XML then server will likely disconnect the XMPP session.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; valid XML then server will likely disconnect the XMPP session.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Arguments:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; xlib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XMPP token.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; text &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Text to send.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; text &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Text to send.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Result:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Length of the sent XML textual representation.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; Length of the sent XML textual representation.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2">#</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># Side effects:</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; XML element is sent to the server.</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf9b2"># &nbsp; &nbsp; &nbsp; XML element is sent to the server.</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">outText</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">text</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf3b2">proc</span><span class="sf11b2"> </span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">xmpp</span><span class="sf11b2">:</span><span class="sf11b2">:</span><span class="sf3b2">outText</span><span class="sf11b2"> </span><span class="sf11b2">{</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">text</span><span class="sf11b2">}</span><span class="sf11b2"> </span><span class="sf11b2">{</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">variable</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">upvar</span><span class="sf11b2"> </span><span class="sf10b2">0</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">state</span></code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$text"</span>&nbsp;</code></td>
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">Debug</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf10b2">2</span><span class="sf11b2"> </span><span class="sf12b2">"$text"</span>&nbsp;</code></td>
</tr>
<tr valign="top">
<td class="ln"></td><td class="sf3b2"><code><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf11b2"> </span><span class="sf11b2">&nbsp;</span><span class="sf3b2">CallBack</span><span class="sf11b2"> </span><span class="sf11b2">$</span><span class="sf3b2">xlib</span><span class="sf11b2"> </span><span class="sf3b2">log</span><span class="sf11b2"> </span><span class="sf3b2">output</span><span class="sf11b2"> </span><span class="sf3b2">text</span><span class="sf11b2"> </span><span class="