twisted.internet.protocol.html   [plain text]


<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>twisted.internet.protocol</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css"></link>
</head>
<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">

<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="center">
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="twisted.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar" align="right" width="100%">
      <table border="0" cellpadding="0" cellspacing="0">
      <tr><th class="navbar" align="center">
        <p class="nomargin">
          <a class="navbar" target="_top" href="http://twistedmatrix.com/">Twisted&nbsp;1.3.0rc1</a>
      </p></th></tr></table>
    </th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <font size="-1"><b class="breadcrumbs">
        <a href="twisted.html">Package&nbsp;twisted</a> ::
        <a href="twisted.internet.html">Package&nbsp;internet</a> ::
        Module&nbsp;protocol
      </b></font></br>
    </td>
    <td><table cellpadding="0" cellspacing="0">
      <tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a>&nbsp;|&nbsp;<a href="twisted.internet.protocol.html" target="_top">no&nbsp;frames</a>]</font></td></tr>
    </table></td>
</tr></table>

<!-- =========== START OF MODULE DESCRIPTION =========== -->
<h2 class="module">Module twisted.internet.protocol</h2>

<p>Standard implementations of Twisted protocol-related interfaces.</p>
<p>Start here if you are looking to write a new protocol implementation 
for Twisted. The Protocol class contains some introductory material.</p>
<p>API Stability: stable, other than ClientCreator.</p>
Maintainer: <a href="mailto:twisted&#64;itamarst.org">Itamar 
Shtull-Trauring</a>
<hr/>

<!-- =========== START OF CLASSES =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
  <th colspan="2">Classes</th></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol._InstanceFactory.html"><code>_InstanceFactory</code></a></b></td>
  <td>Factory used by ClientCreator.</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.AbstractDatagramProtocol.html"><code>AbstractDatagramProtocol</code></a></b></td>
  <td>Abstract protocol for datagram-oriented transports, e.g.</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.BaseProtocol.html"><code>BaseProtocol</code></a></b></td>
  <td>This is the abstract superclass of all protocols.</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.ClientCreator.html"><code>ClientCreator</code></a></b></td>
  <td>Useful for cases when we don't really need a factory.</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.ClientFactory.html"><code>ClientFactory</code></a></b></td>
  <td>A Protocol factory for clients.</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.ConnectedDatagramProtocol.html"><code>ConnectedDatagramProtocol</code></a></b></td>
  <td>Protocol for connected datagram-oriented transport.</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.ConsumerToProtocolAdapter.html"><code>ConsumerToProtocolAdapter</code></a></b></td>
  <td>This class is unstable.</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.DatagramProtocol.html"><code>DatagramProtocol</code></a></b></td>
  <td>Protocol for datagram-oriented transport, e.g.</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.Factory.html"><code>Factory</code></a></b></td>
  <td>This is a factory which produces protocols.</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.FileWrapper.html"><code>FileWrapper</code></a></b></td>
  <td>A wrapper around a file-like object to make it behave as a 
Transport.</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.ProcessProtocol.html"><code>ProcessProtocol</code></a></b></td>
  <td>Processes have some additional methods besides receiving data.</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.Protocol.html"><code>Protocol</code></a></b></td>
  <td>&nbsp;</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.ProtocolToConsumerAdapter.html"><code>ProtocolToConsumerAdapter</code></a></b></td>
  <td>This class is unstable.</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.ReconnectingClientFactory.html"><code>ReconnectingClientFactory</code></a></b></td>
  <td>My clients auto-reconnect with an exponential back-off.</td></tr>
<tr><td width="15%">
  <b><a href="twisted.internet.protocol.ServerFactory.html"><code>ServerFactory</code></a></b></td>
  <td>Subclass this to indicate that your protocol.Factory is only usable 
for servers.</td></tr>
</table><br />


<!-- =========== START OF VARIABLE SUMMARY =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
  <th colspan="2">Variable Summary</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><a href="twisted.python.failure.Failure.html" 
          class="link"><code>Failure</code></a></font></td>
<td><b><a href="twisted.internet.protocol.html#connectionDone"><code>connectionDone</code></a></b> = <span title="&lt;twisted.python.failure.Failure twisted.internet.error.ConnectionDone&gt;"><code>&lt;twisted.python.failure.Failure&nbsp;twisted<span class="variable-ellipsis">...</span></code>
</span></td></tr>
</table><br />


<!-- =========== START OF VARIABLE DETAILS =========== -->
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="details">
  <th colspan="2">Variable Details</th></tr>
</table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="connectionDone"></a>
<h3>connectionDone</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Type:</b></dt>
      <dd>
          <a href="twisted.python.failure.Failure.html" 
          class="link"><code>Failure</code></a>

      </dd>
<span title="&lt;twisted.python.failure.Failure twisted.internet.error.ConnectionDone&gt;">      <dt><b>Value:</b></dt>
      <dd><table><tr><td>
<pre class="variable">
&lt;twisted.python.failure.Failure twisted.internet.error.ConnectionDone&gt; </pre>
        </td></tr></table></dd>
</span>    </dl>
  </dd>
</dl></td></tr></table>
<br />


<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="center">
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="twisted.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar" align="right" width="100%">
      <table border="0" cellpadding="0" cellspacing="0">
      <tr><th class="navbar" align="center">
        <p class="nomargin">
          <a class="navbar" target="_top" href="http://twistedmatrix.com/">Twisted&nbsp;1.3.0rc1</a>
      </p></th></tr></table>
    </th>
  </tr>
</table>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td align="left"><font size="-2">Generated by Epydoc 2.0 on Sat May 15 20:07:44 2004</font></td>
    <td align="right"><a href="http://epydoc.sourceforge.net"
                      ><font size="-2">http://epydoc.sf.net</font></a></td>
  </tr>
</table>
</body>
</html>