From 222d4a8e4fae00d6d03c59df6639ac4f63405e7b Mon Sep 17 00:00:00 2001 From: mwh Date: Thu, 18 Jun 2009 07:52:40 +0000 Subject: [PATCH] Merge twisted-docs.patch: Fix some typos in the howtos. Author: avu Reviewer: mwh Fixes: #3883 --- doc/core/howto/application.xhtml | 6 +++--- doc/core/howto/choosing-reactor.xhtml | 2 +- doc/core/howto/deferredindepth.xhtml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/core/howto/application.xhtml b/doc/core/howto/application.xhtml index 9110db239..683715f01 100644 --- a/doc/core/howto/application.xhtml +++ b/doc/core/howto/application.xhtml @@ -56,7 +56,7 @@ done through Services.

By Service, we mean anything in your application that can be started and stopped. Typical services include web servers, FTP servers and SSH clients. Your Application object can contain many services, and can even -contain structured heirarchies of Services using IServiceCollections.

Here's a simple example of constructing an Application object which @@ -79,12 +79,12 @@ echoService.setServiceParent(application)

See Writing Servers for an explanation of EchoFactory.

-

This example creates a simple heirarchy: +

This example creates a simple hierarchy:

    application
    |
    `- echoService
-
More complicated heirarchies of services can be created using + More complicated hierarchies of services can be created using IServiceCollection. You will most likely want to do this to manage Services which are dependent on other Services. For example, a proxying Twisted application might want its server Service to only start up after the associated diff --git a/doc/core/howto/choosing-reactor.xhtml b/doc/core/howto/choosing-reactor.xhtml index 9f5abd05a..efa1d9a6b 100644 --- a/doc/core/howto/choosing-reactor.xhtml +++ b/doc/core/howto/choosing-reactor.xhtml @@ -163,7 +163,7 @@ iocpreactor.install()

The EPollReactor will work on any platform that provides epoll, today only Linux 2.6 and over. The - implementation of the epoll reactor currently use the Level Triggered + implementation of the epoll reactor currently uses the Level Triggered interface, which is basically like poll() but scales much better.

diff --git a/doc/core/howto/deferredindepth.xhtml b/doc/core/howto/deferredindepth.xhtml
index 3e07ad604..9a7edfc6f 100644
--- a/doc/core/howto/deferredindepth.xhtml
+++ b/doc/core/howto/deferredindepth.xhtml
@@ -264,7 +264,7 @@ the errback at the end of the chain is never called 

The deferred callback chain is stateful

-

A deferred that has been called back will call it's addCallback and +

A deferred that has been called back will call its addCallback and addErrback methods as appropriate in the order they are added, when they are added. So we see in the following example, deferredExample1 and deferredExample2 are equivalent. The first sets up the processing chain