class documentation

class LimitTotalConnectionsFactory(ServerFactory): (source)

Known subclasses: twisted.protocols.ftp.FTPFactory

View In Hierarchy

Factory that limits the number of simultaneous connections.

Instance Variable connectionCount number of current connections.
Class Variable connectionLimit maximum number of connections.
Class Variable overflowProtocol Protocol to use for new connections when connectionLimit is exceeded. If None (the default value), excess connections will be closed immediately.
Method buildProtocol Undocumented
Method registerProtocol Undocumented
Method unregisterProtocol Undocumented
connectionCount = (source)
number of current connections.
(type: int)
connectionLimit = (source)
maximum number of connections.
(type: int or None)
overflowProtocol = (source)
Protocol to use for new connections when connectionLimit is exceeded. If None (the default value), excess connections will be closed immediately.
(type: Protocol or None)
def buildProtocol(self, addr): (source)

Undocumented

def registerProtocol(self, p): (source)

Undocumented

def unregisterProtocol(self, p): (source)

Undocumented

API Documentation for Twisted, generated by pydoctor 21.2.0 at 2021-02-28 21:00:42.