Examples of shutdownComputer()


Examples of remote.SPRemote.shutdownComputer()

      int cmd, ret;
     
      cmd = Integer.parseInt(args[1]);
     
      if (cmd == 1) {
        ret = spremote.shutdownComputer();
        if (ret == 0)
          System.out.println("Shutdown Success.");
        else
          System.out.println("Shutdown Failled.");
      }
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.