1
<?xml version="1.0" encoding="iso-8859-1"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
"DTD/xhtml1-transitional.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
<title>twisted.protocols.xmlstream</title>
7
<link rel="stylesheet" href="epydoc.css" type="text/css"></link>
9
<body bgcolor="white" text="black" link="blue" vlink="#204080"
12
<!-- =========== START OF NAVBAR =========== -->
13
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
15
<th class="navbar"> <a class="navbar" href="twisted.html">Home</a> </th>
16
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
17
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
18
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
19
<th class="navbar" align="right" width="100%">
20
<table border="0" cellpadding="0" cellspacing="0">
21
<tr><th class="navbar" align="center">
23
<a class="navbar" target="_top" href="http://twistedmatrix.com/">Twisted 1.3.0rc1</a>
24
</p></th></tr></table>
28
<table width="100%" cellpadding="0" cellspacing="0">
31
<font size="-1"><b class="breadcrumbs">
32
<a href="twisted.html">Package twisted</a> ::
33
<a href="twisted.protocols.html">Package protocols</a> ::
37
<td><table cellpadding="0" cellspacing="0">
38
<tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a> | <a href="twisted.protocols.xmlstream.html" target="_top">no frames</a>]</font></td></tr>
42
<!-- =========== START OF MODULE DESCRIPTION =========== -->
43
<h2 class="module">Module twisted.protocols.xmlstream</h2>
46
<!-- =========== START OF CLASSES =========== -->
47
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
48
<tr bgcolor="#70b0f0" class="summary">
49
<th colspan="2">Classes</th></tr>
51
<b><a href="twisted.protocols.xmlstream.Authenticator.html"><code>Authenticator</code></a></b></td>
52
<td>Base class for business logic of authenticating an XmlStream</td></tr>
54
<b><a href="twisted.protocols.xmlstream.ConnectAuthenticator.html"><code>ConnectAuthenticator</code></a></b></td>
57
<b><a href="twisted.protocols.xmlstream.XmlStream.html"><code>XmlStream</code></a></b></td>
60
<b><a href="twisted.protocols.xmlstream.XmlStreamFactory.html"><code>XmlStreamFactory</code></a></b></td>
65
<!-- =========== START OF FUNCTION SUMMARY =========== -->
66
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
67
<tr bgcolor="#70b0f0" class="summary">
68
<th colspan="2">Function Summary</th></tr>
69
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
70
<td><code><span class="summary-sig"><a href="twisted.protocols.xmlstream.html#hashPassword" class="summary-sig-name"><code>hashPassword</code></a>(<span class=summary-sig-arg>sid</span>,
71
<span class=summary-sig-arg>password</span>)</span></code>
73
Create a SHA1-digest string of a session identifier and password</td></tr>
77
<!-- =========== START OF VARIABLE SUMMARY =========== -->
78
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
79
<tr bgcolor="#70b0f0" class="summary">
80
<th colspan="2">Variable Summary</th></tr>
81
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
82
<td><b><a href="twisted.protocols.xmlstream.html#RAWDATA_IN_EVENT"><code>RAWDATA_IN_EVENT</code></a></b> = <span title="'//event/rawdata/in'"><code><span class="variable-quote">'</span>//event/rawdata/in<span class="variable-quote">'</span> </code>
84
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
85
<td><b><a href="twisted.protocols.xmlstream.html#RAWDATA_OUT_EVENT"><code>RAWDATA_OUT_EVENT</code></a></b> = <span title="'//event/rawdata/out'"><code><span class="variable-quote">'</span>//event/rawdata/out<span class="variable-quote">'</span> </code>
87
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
88
<td><b><a href="twisted.protocols.xmlstream.html#STREAM_AUTHD_EVENT"><code>STREAM_AUTHD_EVENT</code></a></b> = <span title="'//event/stream/authd'"><code><span class="variable-quote">'</span>//event/stream/authd<span class="variable-quote">'</span> </code>
90
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
91
<td><b><a href="twisted.protocols.xmlstream.html#STREAM_CONNECTED_EVENT"><code>STREAM_CONNECTED_EVENT</code></a></b> = <span title="'//event/stream/connected'"><code><span class="variable-quote">'</span>//event/stream/connected<span class="variable-quote">'</span> </code>
93
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
94
<td><b><a href="twisted.protocols.xmlstream.html#STREAM_END_EVENT"><code>STREAM_END_EVENT</code></a></b> = <span title="'//event/stream/end'"><code><span class="variable-quote">'</span>//event/stream/end<span class="variable-quote">'</span> </code>
96
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
97
<td><b><a href="twisted.protocols.xmlstream.html#STREAM_ERROR_EVENT"><code>STREAM_ERROR_EVENT</code></a></b> = <span title="'//event/stream/error'"><code><span class="variable-quote">'</span>//event/stream/error<span class="variable-quote">'</span> </code>
99
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
100
<td><b><a href="twisted.protocols.xmlstream.html#STREAM_START_EVENT"><code>STREAM_START_EVENT</code></a></b> = <span title="'//event/stream/start'"><code><span class="variable-quote">'</span>//event/stream/start<span class="variable-quote">'</span> </code>
105
<!-- =========== START OF FUNCTION DETAILS =========== -->
106
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
107
<tr bgcolor="#70b0f0" class="details">
108
<th colspan="2">Function Details</th></tr>
111
<a name="hashPassword"></a>
112
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
113
<h3><span class="sig"><span class="sig-name">hashPassword</span>(<span class=sig-arg>sid</span>,
114
<span class=sig-arg>password</span>)</span>
116
Create a SHA1-digest string of a session identifier and password
123
<!-- =========== START OF VARIABLE DETAILS =========== -->
124
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
125
<tr bgcolor="#70b0f0" class="details">
126
<th colspan="2">Variable Details</th></tr>
128
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
129
<a name="RAWDATA_IN_EVENT"></a>
130
<h3>RAWDATA_IN_EVENT</h3>
135
<dt><b>Type:</b></dt>
140
<span title="'//event/rawdata/in'"> <dt><b>Value:</b></dt>
142
<pre class="variable">
143
<span class="variable-quote">'</span>//event/rawdata/in<span class="variable-quote">'</span> </pre>
144
</td></tr></table></dd>
147
</dl></td></tr></table>
148
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
149
<a name="RAWDATA_OUT_EVENT"></a>
150
<h3>RAWDATA_OUT_EVENT</h3>
155
<dt><b>Type:</b></dt>
160
<span title="'//event/rawdata/out'"> <dt><b>Value:</b></dt>
162
<pre class="variable">
163
<span class="variable-quote">'</span>//event/rawdata/out<span class="variable-quote">'</span> </pre>
164
</td></tr></table></dd>
167
</dl></td></tr></table>
168
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
169
<a name="STREAM_AUTHD_EVENT"></a>
170
<h3>STREAM_AUTHD_EVENT</h3>
175
<dt><b>Type:</b></dt>
180
<span title="'//event/stream/authd'"> <dt><b>Value:</b></dt>
182
<pre class="variable">
183
<span class="variable-quote">'</span>//event/stream/authd<span class="variable-quote">'</span> </pre>
184
</td></tr></table></dd>
187
</dl></td></tr></table>
188
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
189
<a name="STREAM_CONNECTED_EVENT"></a>
190
<h3>STREAM_CONNECTED_EVENT</h3>
195
<dt><b>Type:</b></dt>
200
<span title="'//event/stream/connected'"> <dt><b>Value:</b></dt>
202
<pre class="variable">
203
<span class="variable-quote">'</span>//event/stream/connected<span class="variable-quote">'</span> </pre>
204
</td></tr></table></dd>
207
</dl></td></tr></table>
208
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
209
<a name="STREAM_END_EVENT"></a>
210
<h3>STREAM_END_EVENT</h3>
215
<dt><b>Type:</b></dt>
220
<span title="'//event/stream/end'"> <dt><b>Value:</b></dt>
222
<pre class="variable">
223
<span class="variable-quote">'</span>//event/stream/end<span class="variable-quote">'</span> </pre>
224
</td></tr></table></dd>
227
</dl></td></tr></table>
228
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
229
<a name="STREAM_ERROR_EVENT"></a>
230
<h3>STREAM_ERROR_EVENT</h3>
235
<dt><b>Type:</b></dt>
240
<span title="'//event/stream/error'"> <dt><b>Value:</b></dt>
242
<pre class="variable">
243
<span class="variable-quote">'</span>//event/stream/error<span class="variable-quote">'</span> </pre>
244
</td></tr></table></dd>
247
</dl></td></tr></table>
248
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
249
<a name="STREAM_START_EVENT"></a>
250
<h3>STREAM_START_EVENT</h3>
255
<dt><b>Type:</b></dt>
260
<span title="'//event/stream/start'"> <dt><b>Value:</b></dt>
262
<pre class="variable">
263
<span class="variable-quote">'</span>//event/stream/start<span class="variable-quote">'</span> </pre>
264
</td></tr></table></dd>
267
</dl></td></tr></table>
271
<!-- =========== START OF NAVBAR =========== -->
272
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
274
<th class="navbar"> <a class="navbar" href="twisted.html">Home</a> </th>
275
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
276
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
277
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
278
<th class="navbar" align="right" width="100%">
279
<table border="0" cellpadding="0" cellspacing="0">
280
<tr><th class="navbar" align="center">
282
<a class="navbar" target="_top" href="http://twistedmatrix.com/">Twisted 1.3.0rc1</a>
283
</p></th></tr></table>
288
<table border="0" cellpadding="0" cellspacing="0" width="100%">
290
<td align="left"><font size="-2">Generated by Epydoc 2.0 on Sat May 15 20:08:37 2004</font></td>
291
<td align="right"><a href="http://epydoc.sourceforge.net"
292
><font size="-2">http://epydoc.sf.net</font></a></td>