~jk0/nova/xs-ipv6

« back to all changes in this revision

Viewing changes to vendor/Twisted-10.0.0/doc/core/howto/internet-overview.html

  • Committer: Jesse Andrews
  • Date: 2010-05-28 06:05:26 UTC
  • Revision ID: git-v1:bf6e6e718cdc7488e2da87b21e258ccc065fe499
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html  PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN'  'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html lang="en" xmlns="http://www.w3.org/1999/xhtml">
 
2
  <head>
 
3
<title>Twisted Documentation: Overview of Twisted Internet</title>
 
4
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
 
5
  </head>
 
6
 
 
7
  <body bgcolor="white">
 
8
    <h1 class="title">Overview of Twisted Internet</h1>
 
9
    <div class="toc"><ol/></div>
 
10
    <div class="content">
 
11
 
 
12
<span/>
 
13
 
 
14
<p>Twisted Internet is a collection of compatible event-loops for Python.
 
15
It contains the code to dispatch events to interested observers and a portable
 
16
API so that observers need not care about which event loop is running. Thus,
 
17
it is possible to use the same code for different loops, from Twisted's basic,
 
18
yet portable, <code>select</code>-based loop to the loops of various GUI
 
19
toolkits like GTK+ or Tk.</p>
 
20
 
 
21
<p>Twisted Internet contains the various interfaces to the reactor
 
22
API, whose usage is documented in the low-level chapter. Those APIs
 
23
are <code class="API"><a href="http://twistedmatrix.com/documents/10.0.0/api/twisted.internet.interfaces.IReactorCore.html" title="twisted.internet.interfaces.IReactorCore">IReactorCore</a></code>,
 
24
<code class="API"><a href="http://twistedmatrix.com/documents/10.0.0/api/twisted.internet.interfaces.IReactorTCP.html" title="twisted.internet.interfaces.IReactorTCP">IReactorTCP</a></code>,
 
25
<code class="API"><a href="http://twistedmatrix.com/documents/10.0.0/api/twisted.internet.interfaces.IReactorSSL.html" title="twisted.internet.interfaces.IReactorSSL">IReactorSSL</a></code>,
 
26
<code class="API"><a href="http://twistedmatrix.com/documents/10.0.0/api/twisted.internet.interfaces.IReactorUNIX.html" title="twisted.internet.interfaces.IReactorUNIX">IReactorUNIX</a></code>,
 
27
<code class="API"><a href="http://twistedmatrix.com/documents/10.0.0/api/twisted.internet.interfaces.IReactorUDP.html" title="twisted.internet.interfaces.IReactorUDP">IReactorUDP</a></code>,
 
28
<code class="API"><a href="http://twistedmatrix.com/documents/10.0.0/api/twisted.internet.interfaces.IReactorTime.html" title="twisted.internet.interfaces.IReactorTime">IReactorTime</a></code>,
 
29
<code class="API"><a href="http://twistedmatrix.com/documents/10.0.0/api/twisted.internet.interfaces.IReactorProcess.html" title="twisted.internet.interfaces.IReactorProcess">IReactorProcess</a></code>,
 
30
<code class="API"><a href="http://twistedmatrix.com/documents/10.0.0/api/twisted.internet.interfaces.IReactorMulticast.html" title="twisted.internet.interfaces.IReactorMulticast">IReactorMulticast</a></code>
 
31
and <code class="API"><a href="http://twistedmatrix.com/documents/10.0.0/api/twisted.internet.interfaces.IReactorThreads.html" title="twisted.internet.interfaces.IReactorThreads">IReactorThreads</a></code>.
 
32
The reactor APIs allow non-persistent calls to be made.</p>
 
33
 
 
34
<p>Twisted Internet also covers the interfaces for the various transports,
 
35
in <code class="API"><a href="http://twistedmatrix.com/documents/10.0.0/api/twisted.internet.interfaces.ITransport.html" title="twisted.internet.interfaces.ITransport">ITransport</a></code>
 
36
and friends. These interfaces allow Twisted network code to be written without
 
37
regard to the underlying implementation of the transport.</p>
 
38
 
 
39
<p>The <code class="API"><a href="http://twistedmatrix.com/documents/10.0.0/api/twisted.internet.interfaces.IProtocolFactory.html" title="twisted.internet.interfaces.IProtocolFactory">IProtocolFactory</a></code>
 
40
dictates how factories, which are usually a large part of third party code, are
 
41
written.</p>
 
42
 
 
43
</div>
 
44
 
 
45
    <p><a href="index.html">Index</a></p>
 
46
    <span class="version">Version: 10.0.0</span>
 
47
  </body>
 
48
</html>
 
 
b'\\ No newline at end of file'