public Object invokeSync(final String addr, final Object request,
                             final InvokeContext invokeContext, final int timeoutMillis)
                                                                                        throws RemotingException,
                                                                                        InterruptedException {
        Url url = this.addressParser.parse(addr);
        return this.invokeSync(url, request, invokeContext, timeoutMillis);
    }
public Object invokeSync ( final String addr , final Object request , final InvokeContext invokeContext , final int timeoutMillis ) throws RemotingException , InterruptedException { Url url = this . addressParser . parse ( addr ) ; return this . invokeSync ( url , request , invokeContext , timeoutMillis ) ; }
Synchronous rpc invocation.<br>
Notice! DO NOT modify the request object concurrently when this method is called.

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