:type : StartServer

def cmd_line(line, ctrl):
    server = ctrl.modules[0]
    """ :type : StartServer """
    if line == "statistic start":
        server.stat_gather = True
    elif line == "statistic stop":
        server.stat_gather = False
    elif line == "statistic reset":
        server.statistic_reset()
    elif line == "statistic":
        server.info(u"Statistic: \n{}".format(server.statistic()))
    return line