Package org.acplt.oncrpc

Examples of org.acplt.oncrpc.OncRpcTcpClient


        // 424 ( max header length)
        OncRpcClient client = null;
        if (protocol == Protocol.UDP) {
            client = new OncRpcUdpClient(host, NFS_PROGRAM, NFS_VERSION, port, MAX_DATA + HEADER_DATA);
        } else if (protocol == Protocol.TCP) {
            client = new OncRpcTcpClient(host, NFS_PROGRAM, NFS_VERSION, port, MAX_DATA + HEADER_DATA);
        } else {
            // TODO Do something
        }
        client.setTimeout(10000);
        if (uid != -1 && gid != -1) {
View Full Code Here

TOP

Related Classes of org.acplt.oncrpc.OncRpcTcpClient

Copyright © 2018 www.massapicom. 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.