class documentation

class BotFactory(protocol.ReconnectingClientFactory): (source)

View In Hierarchy

The Factory for the Bot

Method __init__ Undocumented
Method __repr__ Undocumented
Method allow_disconnect stops the factory from reconnecting after disconnect
Method buildProtocol Undocumented
Method clientConnectionFailed Undocumented
Method clientConnectionLost callback invoced when connection is lost.
Method startedConnecting callback invoced when connecting is started. logs it.
Instance Variable config Undocumented
Instance Variable logger Undocumented
Instance Variable network Undocumented
Instance Variable parent Undocumented
Instance Variable protocol Undocumented
Instance Variable protocolClass Undocumented
Instance Variable root Undocumented
Instance Variable stop Undocumented
def __init__(self, root, parent, network): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def allow_disconnect(self): (source)

stops the factory from reconnecting after disconnect

def buildProtocol(self, addr): (source)

Undocumented

def clientConnectionFailed(self, connector, reason): (source)

Undocumented

def clientConnectionLost(self, connector, reason): (source)

callback invoced when connection is lost.

tries to reconnect or disconnects cleanly.

def startedConnecting(self, connector): (source)

callback invoced when connecting is started. logs it.

Undocumented

Undocumented

Undocumented

Undocumented

protocol = (source)

Undocumented

protocolClass = (source)

Undocumented

Undocumented

stop: bool = (source)

Undocumented