def METHOD_NAME(self, client):
    start_receive_time = time.time()
    message = client.recv(BUFF_SIZE)
    while time.time() - start_receive_time <= config.MaxReceptionTime:
        try:
            message = message + client.recv(BUFF_SIZE)
        except Exception as e:
            break
    return messag