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
Line # Kind Name Docs
43 Class _VolatileDataService Undocumented
54 Class _AbstractServer Undocumented
88 Class _AbstractClient Undocumented
146 Class TimerService Service to periodically call a function
185 Class CooperatorService Simple service.IService which starts and stops a twisted.internet.task.Cooperator.