Twisted GlossaryΒΆ

adaptee

An object that has been adapted, also called “original” . See Adapter .

Adapter

An object whose sole purpose is to implement an Interface for another object. See Interfaces and Adapters .

Application

A twisted.application.service.Application . There are HOWTOs on creating and manipulating them as a system-administrator, as well as using them in your code.

Avatar

(from Twisted Cred ) business logic for specific user. For example, in PB these are perspectives, in POP3 these are mailboxes, and so on.

Banana

The low-level data marshalling layer of Twisted Spread . See twisted.spread.banana .

Broker

A twisted.spread.pb.Broker , the object request broker for Twisted Spread .

cache

A way to store data in readily accessible place for later reuse. Caching data is often done because the data is expensive to produce or access. Caching data risks being stale, or out of sync with the original data.

component

A special kind of (persistent) Adapter that works with a twisted.python.components.Componentized . See also Interfaces and Adapters .

Componentized

A Componentized object is a collection of information, separated into domain-specific or role-specific instances, that all stick together and refer to each other. Each object is an Adapter , which, in the context of Componentized, we call “components” . See also Interfaces and Adapters .

conch

Twisted’s SSH implementation.

Connector

Object used to interface between client connections and protocols, usually used with a twisted.internet.protocol.ClientFactory to give you control over how a client connection reconnects. See twisted.internet.interfaces.IConnector and Writing Clients .

Consumer

An object that consumes data from a Producer . See twisted.internet.interfaces.IConsumer .

Cred

Twisted’s authentication API, twisted.cred . See Introduction to Twisted Cred and Twisted Cred usage .

credentials

A username/password, public key, or some other information used for authentication.

credential checker

Where authentication actually happens. See ICredentialsChecker .

CVSToys

A nifty set of tools for CVS, available at http://twistedmatrix.com/users/acapnotic/wares/code/CVSToys/ .

Daemon

A background process that does a job or handles client requests. Daemon is a Unix term; service is the Windows equivalent.

Deferred

An instance of twisted.internet.defer.Deferred , an abstraction for handling chains of callbacks and error handlers (“errbacks” ). See the Deferring Execution HOWTO.

Enterprise

Twisted’s RDBMS support. It contains twisted.enterprise.adbapi for asynchronous access to any standard DB-API 2.0 module. See Introduction to Twisted Enterprise for more details.

errback

A callback attached to a Deferred with .addErrback to handle errors.

Factory

In general, an object that constructs other objects. In Twisted, a Factory usually refers to a twisted.internet.protocol.Factory , which constructs Protocol instances for incoming or outgoing connections. See Writing Servers and Writing Clients .

Failure

Basically, an asynchronous exception that contains traceback information; these are used for passing errors through asynchronous callbacks.

im

Abbreviation of “(Twisted) Instance Messenger” .

Instance Messenger

Instance Messenger is a multi-protocol chat program that comes with Twisted. It can communicate via TOC with the AOL servers, via IRC, as well as via PB with Twisted Words . See twisted.words.im .

Interface

A class that defines and documents methods that a class conforming to that interface needs to have. A collection of core twisted.internet interfaces can be found in twisted.internet.interfaces . See also Interfaces and Adapters .

Jelly

The serialization layer for Twisted Spread , although it can be used separately from Twisted Spread as well. It is similar in purpose to Python’s standard pickle module, but is more network-friendly, and depends on a separate marshaller (Banana , in most cases). See twisted.spread.jelly .

Manhole

A debugging/administration interface to a Twisted application.

Microdom

A partial DOM implementation using SUX . It is simple and pythonic, rather than strictly standards-compliant. See twisted.web.microdom .

Names

Twisted’s DNS server, found in twisted.names .

Nevow

The successor to Woven ; available from Divmod .

PB

Abbreviation of “Perspective Broker” .

Perspective Broker

The high-level object layer of Twisted Spread , implementing semantics for method calling and object copying, caching, and referencing. See twisted.spread.pb .

Portal

Glues credential checkers and realm s together.

Producer

An object that generates data a chunk at a time, usually to be processed by a Consumer . See twisted.internet.interfaces.IProducer .

Protocol

In general each network connection has its own Protocol instance to manage connection-specific state. There is a collection of standard protocol implementations in