Go to the latest version of this document.

# ``twisted`.`runner`.`inetdconf`.`ServicesConf``

class documentation

`class ServicesConf(SimpleConfFile): (source)`

View In Hierarchy

/etc/services parser

Method | `__init__` | Undocumented
Method | `parseFields` | Override this.
Class Variable | `defaultFilename` | Undocumented
Instance Variable | `services` | dict mapping service names to (port, protocol) tuples.

Inherited from `SimpleConfFile`:

Method | `parseFile` | Parse a configuration file
Method | `parseLine` | Override this.
Class Variable | `commentChar` | Undocumented

def __init__(self): (source)

Undocumented

def parseFields(self, name, portAndProtocol, *aliases): (source)
overrides `twisted.runner.inetdconf.SimpleConfFile.parseFields`

Override this.

defaultFilename: `str` = (source)
overrides `twisted.runner.inetdconf.SimpleConfFile.defaultFilename`

Undocumented

services: `dict` = (source)

dict mapping service names to (port, protocol) tuples.