реализация остановки сервера тестирования по кнопке
This commit is contained in:
18
src/Visual_DVM_2021/Passes/SSH/TestingServerSSHPass.java
Normal file
18
src/Visual_DVM_2021/Passes/SSH/TestingServerSSHPass.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package Visual_DVM_2021.Passes.SSH;
|
||||
import Common.Current;
|
||||
import Common.Global;
|
||||
import GlobalData.Machine.Machine;
|
||||
import GlobalData.Machine.MachineType;
|
||||
import GlobalData.User.User;
|
||||
public class TestingServerSSHPass extends ConnectionPass {
|
||||
@Override
|
||||
protected boolean needsAnimation() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
public void Connect() throws Exception {
|
||||
machine = new Machine("alex", Global.properties.ServerAddress,Global.properties.ServerUserSHHPort,MachineType.Server);
|
||||
user = new User(Global.properties.ServerUserName, "mprit_2011");
|
||||
super.Connect();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user