From 222d4a8e4fae00d6d03c59df6639ac4f63405e7b Mon Sep 17 00:00:00 2001
From: mwh
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 IServiceCollection
s.
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 calledThe 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