@Override
    public ResponseCommand waitResponse(long timeoutMillis) throws InterruptedException {
        this.countDownLatch.await(timeoutMillis, TimeUnit.MILLISECONDS);
        return this.responseCommand;
    }
Constructor.

@param invokeId invoke id
@param callbackListener callback listener
@param callback callback
@param protocol protocol
@param commandFactory command factory
@param invokeContext invoke context
src/main/java/com/alipay/remoting/rpc/DefaultInvokeFuture.java