no message
This commit is contained in:
@@ -177,6 +177,7 @@ public abstract class RepositoryServer<D extends Database> {
|
||||
public void StartAction() throws Exception {
|
||||
}
|
||||
public void Start() throws Exception {
|
||||
Utils.createEmptyFile("kek");//Constants.STARTED);
|
||||
DiagnosticSignalHandler.install("TERM", signalHandler);
|
||||
DiagnosticSignalHandler.install("INT", signalHandler);
|
||||
DiagnosticSignalHandler.install("ABRT", signalHandler);
|
||||
@@ -184,7 +185,6 @@ public abstract class RepositoryServer<D extends Database> {
|
||||
startAdditionalThreads();
|
||||
server = new ServerSocket(getPort());
|
||||
Print("Сервер запущен!");
|
||||
// Utils.createEmptyFile("kek");//Constants.STARTED);
|
||||
StartAction();
|
||||
while (true) {
|
||||
try {
|
||||
|
||||
@@ -275,6 +275,7 @@ public class TestingServer extends RepositoryServer<TestsDatabase> {
|
||||
break;
|
||||
case StartNecessaryMachines:
|
||||
Print("Проверка процессов машин");
|
||||
response = new ServerExchangeUnit_2021(ServerCode.OK);
|
||||
StartNecessaryMachines();
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user