def METHOD_NAME(self, data: bytes):
    """
    Called whenever data is received.
    :param data: bytes received.
    """
    try:
        self.recv(data)
    except KeyboardInterrupt:
        raise
    except Exception as e:
        logging.getLogger(LOGGER_NAMES.PYRDP).exception(e)
        raise