def METHOD_NAME(self, receive_id, weights, client_runtime_info):
    message = Message(
        MyMessage.MSG_TYPE_C2S_SEND_MODEL_TO_SERVER,
        self.get_sender_id(),
        receive_id,
    )
    message.add_params(MyMessage.MSG_ARG_KEY_MODEL_PARAMS, weights)
    # message.add_params(MyMessage.MSG_ARG_KEY_NUM_SAMPLES, local_sample_num)
    message.add_params(MyMessage.MSG_ARG_KEY_CLIENT_RUNTIME_INFO, client_runtime_info)
    self.send_message(message)