t.a.i.GenericServer(_AbstractServer) : class documentation

Part of twisted.application.internet View Source View In Hierarchy

Serve Generic clients

Call reactor.listenWith when the service starts, with the arguments given to the constructor. When the service stops, stop listening. See twisted.internet.interfaces for documentation on arguments to the reactor method.

This service is deprecated (because reactor.listenWith is deprecated).

Method __init__ Undocumented

Inherited from _AbstractServer:

Class Variable volatile list of attribute to remove from pickling. (type: list)
Instance Variable method the type of method to call on the reactor, one of TCP, UDP, SSL or UNIX. (type: str)
Instance Variable reactor the current running reactor. (type: a provider of IReactorTCP, IReactorUDP, IReactorSSL or IReactorUnix.)
Method privilegedStartService Do preparation work for starting the service.
Method startService Start the service.
Method stopService Stop the service.
Instance Variable _port instance of port set when the service is started. (type: a provider of twisted.internet.interfaces.IListeningPort.)
Method _getPort Wrapper around the appropriate listen method of the reactor.

Inherited from _VolatileDataService (via _AbstractServer):

Method __getstate__ Undocumented

Inherited from Service (via _AbstractServer, _VolatileDataService):

Method setName Set the name of the service.
Method setServiceParent Set the parent of the service. This method is responsible for setting the parent attribute on this service (the child service).
Method disownServiceParent Use this API to remove an IService from an IServiceCollection.
def __init__(self, *args, **kwargs): (source)
API Documentation for Twisted, generated by pydoctor at 2012-09-01 11:44:56.