Package org.acplt.oncrpc

Examples of org.acplt.oncrpc.OncRpcClient.call()


        while (true) {
            try {
                countCall++;
                client = getRpcClient();
                if (result == XdrVoid.XDR_VOID) {
                    client.call(functionId, parameter, result);
                } else {
                    ResultWithCode nfsResult = new ResultWithCode(result);
                    client.call(functionId, parameter, nfsResult);
                    if (nfsResult.getResultCode() != ResultCode.NFS_OK) {
                        throw new NFS2Exception(nfsResult.getResultCode());
View Full Code Here


                client = getRpcClient();
                if (result == XdrVoid.XDR_VOID) {
                    client.call(functionId, parameter, result);
                } else {
                    ResultWithCode nfsResult = new ResultWithCode(result);
                    client.call(functionId, parameter, nfsResult);
                    if (nfsResult.getResultCode() != ResultCode.NFS_OK) {
                        throw new NFS2Exception(nfsResult.getResultCode());
                    }
                }
                break;
View Full Code Here

        while (true) {
            try {
                countCall++;
                client = getRpcClient();
                client.call(functionId, parameter, result);
                break;
            } catch (Exception e) {
                // if we receive an exception we will close the client and next
                // time we will use another rpc client
                if (client != null) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.