public void setTarget(RPCTarget target) {
        this.target = target;
    }
Sets the RPC target to be used when communicating with the remote service.

@param target The target to set.
messagebus/src/main/java/com/yahoo/messagebus/network/rpc/RPCServiceAddress.java