def connectionMade(self):
        log.msg('ConnectionMade')
        self.factory.numConnect += 1
        if self.factory.numConnect > self.maxConnect:
            self.transport.write("Server already in use, try later\n")
            self.transport.loseConnection()
dataset/ETHPy150Open enthought/mayavi/mayavi/tools/server.py/M2TCP.connectionMade/original