no message

This commit is contained in:
2024-05-07 01:06:47 +03:00
parent b39de4ad14
commit 12fddbdc95
6 changed files with 51 additions and 10 deletions

View File

@@ -240,6 +240,10 @@ public class TestingServer extends RepositoryServer<TestsDatabase> {
response = new ServerExchangeUnit_2021(ServerCode.OK);
StartNecessaryMachines();
break;
case GetSapforForCompilation:
Print("Получить первую активную версию Sapfor для сборки");
GetSapforForCompilation();
break;
default:
throw new RepositoryRefuseException("Неподдерживаемый код: " + code);
}
@@ -325,6 +329,10 @@ public class TestingServer extends RepositoryServer<TestsDatabase> {
response.object = db.getFirstActiveSapforPackagesCopies();
}
//---
void GetSapforForCompilation() throws Exception{
response = new ServerExchangeUnit_2021(ServerCode.OK);
response.object = db.getSapforCopyForCompilation();
}
void UpdateActiveDVMPackages() throws Exception {
response = new ServerExchangeUnit_2021(ServerCode.OK);
Vector<Pair<Integer, Long>> keys_pairs = (Vector<Pair<Integer, Long>>) request.object;