src/main/java/com/alipay/remoting/rpc/RpcClient.java
public Object invokeSync(final String addr, final Object request,
                             final InvokeContext invokeContext, final int timeoutMillis)
                                                                                        throws RemotingException,
                                                                                        InterruptedException {
        return this.rpcRemoting.invokeSync(addr, request, invokeContext, timeoutMillis);
    }
public Object invokeSync(final String addr, final Object request,
                             final InvokeContext invokeContext, final int timeoutMillis)
                                                                                        throws RemotingException,
                                                                                        InterruptedException {
        return this.rpcRemoting.invokeSync(addr, request, invokeContext, timeoutMillis);
    }
Synchronous invocation with a {@link InvokeContext}, common api notice please see {@link #invokeSync(String, Object, int)}

@param addr
@param request
@param invokeContext
@param timeoutMillis
@return
@throws RemotingException
@throws InterruptedException