flavors.RemoteCopy
and flavors.Copyable
version of twisted.python.failure.Failure
for serialization.DeferredFilesystemLock.deferUntilLocked
is called twice on a single DeferredFilesystemLock
.Deferred
is
cancelled.DeferredList
if fireOnOneErrback
is set.Deferred.setTimeout
method.Exception
that will be raised when an IStreamClientEndpoint
is cancelled before it connects.twisted.internet.interfaces.ITCPTransport.abortConnection
.IUNIXTransport.sendFileDescriptor
caused the connection to be closed.twisted.trial.itrial.IReporter.addError
when the reactor is left in an unclean state after a test._WrapperException
is the base exception type for exceptions which include one or more other
exceptions as the low-level causes.ResponseFailed
indicates that all of the response to a request was not received for some
reason.ResponseFailed
that knows no response bytes at all have been received.Request
were in
some way invalid.IBodyProducer
for a request tried to write data after indicating it had finished writing
data.IBodyProducer
declared the number of bytes it was going to produce (via its
length
attribute) and then produced a different number of
bytes.ResponseDone
may be passed to IProtocol.connectionLost
on the protocol passed to Response.deliverBody
and indicates that the entire response has been delivered.ResponseFailed
if we got a redirect without a Location
header field.MissingTemplateLoader
is raised when trying to render an Element without a template loader, i.e.
a loader
attribute.IOError
to preserve backward compatibility with the previous error behavior of getProcessOutput
.StreamServerEndpointService
is an IService
which runs a server on a listening port described by an IStreamServerEndpoint
.IServiceMaker
plugins.HashedEntry
is a representation of an entry in a known_hosts file where the hostname
has been hashed and salted.PlainEntry
is a representation of a plain-text entry in a known_hosts file.UnparsedEntry
is an entry in a KnownHostsFile
which can't actually be parsed; therefore it matches no keys and no
hosts.TerminalProtocol
which adds line editing features.TerminalProtocol
which adds both basic line-editing features and input history.stdio.StandardIO
.ScrolledArea
contains another widget wrapped in a viewport and vertical and horizontal
scrollbars for moving the viewport around.ITerminalTransport
implementation which forwards calls to one or more other ITerminalTransport
s._BypassTLS
is used as the transport object for the TLS protocol object used to
implement startTLS
. Its methods skip any TLS logic which
startTLS
enables.twisted.internet.tcp.Client
which just marks it as a client for the purposes of the default TLS
handshake.twisted.internet.abstract.FileDescriptor
which adds an ITLSTransport
implementation.twisted.internet.tcp.Server
which just marks it as a server for the purposes of the default TLS
handshake.twisted.internet.tcp.Client
to implement the client part of ITLSTransport
.twisted.internet.tcp.Connection
to help implement ITLSTransport
using pyOpenSSL to do crypto and I/O.twisted.internet.tcp.Client
to implement the server part of ITLSTransport
._Handler
is
a signal handler which writes a byte to a file descriptor whenever it is
invoked.IConsumer
implementations can mix this in to get registerProducer
and
unregisterProducer
methods which take care of keeping track of
a producer's state.interfaces.ILoggingContext
for transports which have a protocol, the log prefix of which should also
appear in the transport's log prefix._IPAddress
represents the address of an IP socket endpoint, providing common behavior
for IPv4 and IPv6.IPv4Address
represents the address of an IPv4 socket endpoint.IPv6Address
represents the address of an IPv6 socket endpoint._disconnectSelectable
method._SIGCHLDWaker
can wake up a reactor whenever SIGCHLD
is received.CooperativeTask
is a task object inside a Cooperator
,
which can be paused, resumed, and stopped. It can also have its completion
(or termination) monitored.abortConnection
.twisted.python.sendmsg
is not available, preventing IUNIXTransport
from being supported.IReactorWin32Events
for another reactor by running a Win32Reactor
in a separate thread and dispatching work to it.Win32Reactor
thread into a notification in the primary reactor thread.CachedPlugin
instances from a particular module in a plugin package.FilePasswordDB
.UNIXChecker
._DescriptorExchanger
is a mixin for BinaryBoxProtocol
which adds support for receiving file descriptors, a feature offered by IUNIXTransport
.AmpBox
es -
key/value pairs - via length-prefixed strings. A box is composed of:locateResponder
method to do simple, string-based dispatch.IntNStringReceiver.recvd
attribute.IFTPShell
.Via
is a SIP
Via header, representing a segment of the path taken by the request.TLSMemoryBIOProtocol
transport.main
.main
.main
.original
attribute of the object it is being accessed
from.FlagConstant
defines an attribute to be a flag constant within a collection defined by a
Flags
subclass.NamedConstant
defines an attribute to be a named constant within a collection defined by
a Names
subclass.ValueConstant
defines an attribute to be a named constant within a collection defined by
a Values
subclass._ConstantsContainer
is a class with attributes used as symbolic constants. It is up to
subclasses to specify what kind of constants are allowed.Names
subclass contains constants which differ only in their names and
identities.Values
subclass contains constants which are associated with arbitrary values.Flags
subclass contains constants which can be combined using the common bitwise
operators (|
, &
, etc) similar to a
bitvector from a language like C._EnumerantsInitializer
is a descriptor used to initialize a cache of objects representing named
constants for a particular _ConstantsContainer
subclass._InternalState
is a helper object for a _ModuleProxy
,
so that it can easily access its own attributes, bypassing its logic for
delegating to another object that it's proxying for._Traceback
via _Frame
._Traceback
.traceback
module._ShadowRecord
holds the shadow user data for a single user in ShadowDatabase
.
It corresponds to spwd.struct_spwd
. See that class for
attribute documentation._UserRecord
holds the user data for a single user in UserDatabase
.
It corresponds to pwd.struct_passwd
.
See that class for attribute documentation.ShadowDatabase
holds a shadow user database in memory and makes it available via the same
API as spwd
.UserDatabase
holds a traditional POSIX user data in memory and makes it available via
the same API as pwd
.logging
module.secureRandom
and insecureRandom
methods.ListenFDs
provides access to file descriptors inherited from systemd.write
calls are wrapped
in untilConcludes
.twisted.trial.unittest.TestCase
s.TestResult
with support for writing to a stream.TestCase
inside a reporter. As far as a TestResult
is concerned, this looks exactly like a unit test.TestSuite
or a
TestCase
).failUnlessFailure
.Agent
-type
classes.Agent
is a very
basic HTTP client. It supports HTTP and HTTPS scheme URIs
(but performs no certificate checking by default).urllib2.Request
object for cookielib
to
work with.urllib2.Response
object for cookielib
to work with.HTTP11ClientProtocol
that automatically retries requests.Agent
wrapper to handle encoded content.CookieAgent
extends the basic Agent
to add
RFC-compliant handling of HTTP cookies. Cookies are written to and
extracted from a cookielib.CookieJar
instance.FileBodyProducer
produces bytes from an input file object incrementally and writes them to a
consumer.Agent
wrapper which handles HTTP redirects.digest.DigestCredentialFactory
that implements
the ICredentialFactory
interface.StaticProducer
that writes several chunks of a file to the request.StaticProducer
that writes the entire file to the request.StaticProducer
that writes a single chunk of a file to the request.Tag
objects; the
implementation of the tags
object.<![CDATA[]]>
block from a template. Given a
separate representation in the DOM so that they may be round-tripped
through rendering without losing information.<!-- -->
comment from a template. Given a separate
representation in the DOM so that they may be round-tripped through
rendering without losing information._FrameElement
is an IRenderable
which
can render details about one frame from a Failure
._SourceFragmentElement
is an IRenderable
which
can render several lines of source code near the line number of a
particular frame object._SourceLineElement
is an IRenderable
which
can render a single line of source code._StackElement
renders an IRenderable
which
can render a list of frames.FailureElement
is an IRenderable
which
can render detailed information about a Failure
.ITemplateLoader
that loads existing IRenderable
providers.ITemplateLoader
that loads and parses XML from a file.ITemplateLoader
that loads and parses XML from a string.Protocol
implementation which wraps another one, transparently decompressing
received data.Response
instance
which handles gzip'ed body.util.DirtyReactorAggregateError
s
to warnings.failUnlessFailure
.twisted.trial.unittest.TestCase
s.TestResult
with support for writing to a stream.TestSuite
with support for
the visitor pattern and a consistently overrideable run
method.CopiedFailure
is a pb.RemoteCopy
of
a failure.Failure
transfered via PB.TestResult
object.trial
run. Used
internally by Trial to set up things necessary for Trial tests to work,
regardless of what context they are run in.service.IService
which starts and stops a twisted.internet.task.Cooperator
.StreamServerEndpointService
is an IService
which runs a server on a listening port described by an IStreamServerEndpoint
.LOGINCredentials
generates challenges for LOGIN authentication.usage.Options
subclass that needs authentication.DeferredList
is a tool for collecting the results of several Deferreds.deferredGenerator
.PosixReactorBase.runUntilCurrent
to get invoked.Protocol
instance in a ProcessProtocol
instance.IProcessProtocol
and an ITransport
.Deferred
.AmpBox
es -
key/value pairs - via length-prefixed strings. A box is composed of:SMTPSenderFactory
.FTPClient
is a
client implementation of the FTP protocol which exposes FTP commands as
methods which return Deferred
s.HTTPParser
handles the parsing side of HTTP processing. With a suitable subclass, it
can parse either the client side or the server side of the connection.HTTP11ClientProtocol
is an implementation of the HTTP 1.1 client protocol. It supports as few
features as possible.TLSMemoryBIOFactory
adds TLS to connections.DNSProtocol
connections. This class also provides records for responses to DNS
queries.IRCUser
protocol.HTTP11ClientProtocol
,
used by HTTPConnectionPool
.DefaultOpenSSLContextFactory
is a factory for server-side SSL context objects. These objects define
certain parameters related to SSL handshakes and the subsequent
connection.IReactorTime.callLater
.
This is commonly useful for writing deterministic unit tests for code which
schedules events using this API.StringListMailbox
is an in-memory mailbox.SMTPSenderFactory
.ResolverBase
is a base class for IResolver
implementations which deals with
a lot of the boilerplate of implementing all of the lookup methods.IResolver
sResolver
implements recursive lookup starting from a specified list of root
servers.Message
contains all the information represented by a single DNS request or
response.notifyModerators
method which will take care of
sending messages which require moderation to a list of moderators._Container
instead.Connector
provides of twisted.internet.interfaces.IConnector
for all POSIX-style reactors._SIGCHLDWaker
can wake up a reactor whenever SIGCHLD
is received.ResourceSubscription
and sent via PB to a distributed node.ResourcePublisher
exposes a remote API which can be used to respond to request.datetime.datetime
instances.decimal.Decimal
instances.filepath.FilePath
instances as paths on the wire.BoxDispatcher
dispatches '_ask', '_answer', and '_error' AmpBox
es, both
incoming and outgoing, to their appropriate destinations.CommandLocator
is a collection of responders to AMP Command
s, with
the help of the Command.responder
decorator.AmpBox
es -
key/value pairs - via length-prefixed strings. A box is composed of:SMTPSenderFactory
.FTPClient
is a
client implementation of the FTP protocol which exposes FTP commands as
methods which return Deferred
s.HTTPParser
handles the parsing side of HTTP processing. With a suitable subclass, it
can parse either the client side or the server side of the connection.AmpBox
es -
key/value pairs - via length-prefixed strings. A box is composed of:SystemFTPRealm
uses system user account information to decide what the home directory for
a particular avatarId is.SMTPSenderFactory
.TestCase
subclasses that have
undesirable id() methods. That is pyunit.FunctionTestCase
and
pyunit.DocTestCase
.ContextTracker
provides a way to pass arbitrary key/value data up and down a call stack
without passing them as parameters to the functions on that call stack.CopiedFailure
is a pb.RemoteCopy
of
a failure.Failure
transfered via PB.flavors.RemoteCopy
and flavors.Copyable
version of twisted.python.failure.Failure
for serialization.FilesystemLock
that allows for a Deferred
to be
fired when the lock is acquired._SIGCHLDWaker
can wake up a reactor whenever SIGCHLD
is received.Extend from this class to get the capability to maintain 'related sums'. Have a tuple in your class like the following:
_IPAddress
represents the address of an IP socket endpoint, providing common behavior
for IPv4 and IPv6.IPv4Address
represents the address of an IPv4 socket endpoint.IPv6Address
represents the address of an IPv6 socket endpoint.(attributeName, displayName,
formatCharacter)
.RemoteCache
.ResourceSubscription
and sent via PB to a distributed node.pb.Broker
s for a
pb.BrokerFactory
.ResourcePublisher
exposes a remote API which can be used to respond to request.pb.Perspective
.Cacheable
object.ViewPoint
when
passed to or returned from a remote method.setStateFor
convenience method.Cacheable
object.ResourceSubscription
and sent via PB to a distributed node.RemoteCache
.IConsumer
on top of HTTP11ClientProtocol
for streaming request bodies to the server.IConsumer
proxy which enforces an exact length requirement on the total data written
to it.Request
instance describes an HTTP request to be sent to an HTTP server.IPushProducer
implementation which wraps another such thing and proxies calls to it until
it is told to stop.Response
instance describes an HTTP response received from an HTTP server.ResourceSubscription
and sent via PB to a distributed node.ErrorPage
is a resource which responds with a particular (parameterized) status and a
body consisting of HTML containing some descriptive text. This is useful
for rendering simple error pages.twisted.web.resource.ErrorPage
.ForbiddenResource
is a specialization of ErrorPage
which
returns the FORBIDDEN HTTP response code.twisted.web.resource.ForbiddenResource
.NoResource
is
a specialization of ErrorPage
which
returns the HTTP response code NOT FOUND.twisted.web.resource.NoResource
.CGIScript
is
a resource which runs child processes according to the CGI
specification.'wsgi.errors'
key in the environ
dictionary
passed to the application object.'wsgi.input'
key in the environ
dictionary passed
to the application object.WSGIResource
which drives the WSGI application using a threadpool and hooks it up to the
Request
.IResource
implementation which delegates responsibility for all resources
hierarchically inferior to it to a WSGI application.dict
-like wrapper around Headers
to
provide backwards compatibility for Request.received_headers
and Request.headers
which used to be plain dict
instances.name,
class, type
triple.name, class, type
triple.twisted.names.dns.EFORMAT
.twisted.names.dns.ENAME
.twisted.names.dns.ENOTIMP
.twisted.names.dns.EREFUSED
.twisted.names.dns.ESERVER
.IReactorProcess.spawnProcess
is called in a way which may result in termination of the created child
process not being reported.IKnownHostEntry
is an entry in an OpenSSH-formatted known_hosts
file.openFile
().ISSHPrivateKey
credentials encapsulate an SSH public key to be checked against a user's
private key.twisted.cred.checkers.ICredentialsChecker
.(host, port)
.IConsumer
and is deprecated. Please use IConsumer.unregisterProducer
instead of IFinishableConsumer.finish
.IFileDescriptor
that can read.IFileDescriptor
that can both read and write.IFileDescriptor
that can write.IFileDescriptor
that can both read and write.IBodyProducer
write bytes to an object which provides IConsumer
by calling
its write
method repeatedly.IReactorFDSet
and is deprecated.IFileDescriptor
type resources.ClientFactory
can connect to. For example, a remote TCP host/port pair would be a TCP
client endpoint.IStreamClientEndpointStringParser
is a parser which can convert a set of string *args
and
**kwargs
into an IStreamClientEndpoint
provider.Factory
can
listen for incoming connections.listMailboxes
.IArgumentType
can serialize a Python object into an AMP box and deserialize information
from an AMP box back into a Python object.AmpBox
objects
and dispatch them appropriately.AmpBox
objects.IRenderable
is an
object that may be rendered by the twisted.web.template
templating system.twisted.web.template.Element
's
loader
attribute.