Package com.simoncat.net

Examples of com.simoncat.net.RestartServer.restart()


    String pwd = server.getPassword();
    int portSSH= new Integer(server.getPortSSH()).intValue();
   
    System.out.println("CORRIENDO EL RESTART EN SERVER:"+server.getName());
    RestartServer rs = new RestartServer(ip,portSSH,usr,pwd);
    boolean r=rs.restart();
    System.out.println("RESULT RESTART:"+r);
       
    //guardar en resultado en el campo results del evento
    event.setResults(result);
    taskProgrammer.addFinishedTask(server,event);
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.