Module t.a.internet

Part of twisted.application View Source

Reactor-based Services

Here are services to run clients, servers and periodic services using the reactor.

This module (dynamically) defines various Service subclasses that let you represent clients and servers in a Service hierarchy.

They are as follows:
 TCPServer, TCPClient,
 UNIXServer, UNIXClient,
 SSLServer, SSLClient,
 UDPServer, UDPClient,
 UNIXDatagramServer, UNIXDatagramClient,
 MulticastServer

These classes take arbitrary arguments in their constructors and pass them straight on to their respective reactor.listenXXX or reactor.connectXXX calls.

For example, the following service starts a web server on port 8080: TCPServer(8080, server.Site(r)). See the documentation for the reactor.listen/connect* methods for more information.

API Stability: unstable

Maintainer: Moshe Zadka
Class _VolatileDataService Undocumented
Class _AbstractServer No class docstring; 3/5 methods documented
Class _AbstractClient No class docstring; 2/4 methods documented
Class TimerService Service to periodically call a function
Class CooperatorService Simple service.IService which starts and stops a twisted.internet.task.Cooperator.
API Documentation for twisted, generated by pydoctor.