class documentation

class TrafficLoggingFactory(WrappingFactory): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method build​Protocol Undocumented
Method open Undocumented
Method reset​Counter Reset the value of the counter used to identify connections.
Instance Variable length​Limit Undocumented
Instance Variable logfile​Prefix Undocumented
Instance Variable _counter Undocumented

Inherited from WrappingFactory:

Method client​Connection​Failed Undocumented
Method client​Connection​Lost Undocumented
Method do​Start Undocumented
Method do​Stop Undocumented
Method log​Prefix Generate a log prefix mentioning both the wrapped factory and this one.
Method register​Protocol Called by protocol to register itself.
Method started​Connecting Undocumented
Method unregister​Protocol Called by protocols when they go away.
Instance Variable protocols Undocumented
Instance Variable wrapped​Factory Undocumented
def __init__(self, wrappedFactory, logfilePrefix, lengthLimit=None): (source)
def buildProtocol(self, addr): (source)
def open(self, name): (source)

Undocumented

def resetCounter(self): (source)
Reset the value of the counter used to identify connections.
lengthLimit = (source)

Undocumented

logfilePrefix = (source)

Undocumented

_counter: int = (source)

Undocumented