class documentation

class ServerOptions(usage.Options, ReactorSelectionMixin): (source)

Known subclasses: twisted.scripts._twistd_unix.ServerOptions, twisted.scripts._twistw.ServerOptions

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method opt​_debug Run the application in the Python Debugger (implies nodaemon), sending SIGUSR2 will drop into debugger
Method opt​_spew Print an insanely verbose log of everything that happens. Useful when debugging freezes or locks in complex code.
Method parse​Options The guts of the command-line parser.
Method post​Options I am called after the options are parsed.
Class Variable comp​Data Undocumented
Class Variable longdesc Undocumented
Class Variable opt​Flags Undocumented
Class Variable opt​Parameters Undocumented
Instance Variable stdout Undocumented
Property sub​Commands Undocumented
Class Variable _get​Plugins Undocumented

Inherited from Options:

Method __str__ Undocumented
Method get​Synopsis Returns a string containing a description of these options and how to pass them to the executed file.
Method get​Usage Undocumented
Method opt​_help Display this help and exit.
Method opt​_version Display Twisted version and exit.
Method parse​Args I am called with any leftover arguments which were not options.
Class Variable completion​Data Undocumented
Class Variable default​Sub​Command Undocumented
Class Variable parent Undocumented
Instance Variable defaults Undocumented
Instance Variable docs Undocumented
Instance Variable long​Opt Undocumented
Instance Variable opts Undocumented
Instance Variable short​Opt Undocumented
Instance Variable sub​Command Undocumented
Instance Variable sub​Options Undocumented
Instance Variable synonyms Undocumented
Method _gather​_flags Gather up boolean (flag) options.
Method _gather​_handlers Gather up options with their own handler methods.
Method _gather​_parameters Gather options which take a value.
Method _generic​_flag Undocumented
Instance Variable _dispatch Undocumented

Inherited from ReactorSelectionMixin:

Method opt​_help​_reactors Display a list of possibly available reactor names.
Method opt​_reactor Which reactor to use (see --help-reactors for a list of possibilities)
Class Variable _get​Reactor​Types Undocumented
def __init__(self, *a, **kw): (source)

Undocumented

def opt_debug(self): (source)
Run the application in the Python Debugger (implies nodaemon), sending SIGUSR2 will drop into debugger
def opt_spew(self): (source)
Print an insanely verbose log of everything that happens. Useful when debugging freezes or locks in complex code.
def parseOptions(self, options=None): (source)
The guts of the command-line parser.
def postOptions(self): (source)

I am called after the options are parsed.

Override this method in your subclass to do something after the options have been parsed and assigned, like validate that all options are sane.

longdesc: str = (source)

Undocumented

optParameters = (source)

Undocumented

stdout = (source)

Undocumented

@property
subCommands = (source)

Undocumented

_getPlugins = (source)

Undocumented