/** {@inheritDoc} */ @Override public <T> T execute( ConnectionCallback<T> action, RpcHost host, String division, String accessCode, String verifyCode) throws DataAccessException { return execute( action, new RpcRequest( host, RpcUriUtils.toCredentials(division, accessCode, verifyCode, null, null), null, null, (List) null)); }
protected RpcRequest createRpcRequest( RpcHost host, String division, String accessCode, String verifyCode, String rpcContext, String rpcName, List params) { RpcRequest request = new RpcRequest( host, RpcUriUtils.toCredentials(division, accessCode, verifyCode, null, null), rpcContext, rpcName, params); if (getTimeout() > 0) request.setTimeout(getTimeout()); return request; }