def connectionMade(self): log.debug("Connection Made") self.factory.protoList.append(self) self.factory.loginDefer.addCallback(self.onConnect) #Add a callback to be notified upon successful login AMIProtocol.connectionMade(self)
def __init__(self): AMIProtocol.__init__(self)