src/main/java/com/alipay/remoting/rpc/RpcClient.java
public RpcResponseFuture invokeWithFuture(final Connection conn, final Object request,
                                              int timeoutMillis) throws RemotingException {
        return this.rpcRemoting.invokeWithFuture(conn, request, null, timeoutMillis);
    }
public RpcResponseFuture invokeWithFuture(final Connection conn, final Object request,
                                              int timeoutMillis) throws RemotingException {
        return this.rpcRemoting.invokeWithFuture(conn, request, null, timeoutMillis);
    }
Future invocation using a {@link Connection} <br>
You can get result use the returned {@link RpcResponseFuture}.
<p>
Notice:<br>
<b>DO NOT modify the request object concurrently when this method is called.</b>

@param conn
@param request
@param timeoutMillis
@return
@throws RemotingException