Package com.sun.grid.installer.util.cmd

Examples of com.sun.grid.installer.util.cmd.ResolveHostCommand


        try {
            int exitValue = getTestExitValue();
            Vector<String> output = getTestOutput();

            if (!isIsTestMode()) {
                ResolveHostCommand resolveHostCommand = new ResolveHostCommand(host.getResolveTimeout());
                resolveHostCommand.execute(value);
                exitValue = resolveHostCommand.getExitValue();

                name = resolveHostCommand.getHostName(); //If IP can't be resolved takes took long on windows
                ip = resolveHostCommand.getHostAddress();

                if (exitValue != EXIT_VAL_SUCCESS || ip.equals(name)) {
                    throw new UnknownHostException(ip);
                }
View Full Code Here

TOP

Related Classes of com.sun.grid.installer.util.cmd.ResolveHostCommand

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.