no message

This commit is contained in:
2025-02-14 02:17:56 +03:00
parent a86a5b1e6b
commit 209bb2455d
11 changed files with 29 additions and 18 deletions

View File

@@ -1,10 +1,9 @@
package _VisualDVM.Passes.Server;
import Common.Database.RepositoryRefuseException;
import Common.Passes.Pass;
import Common.Passes.PassException;
import _VisualDVM.Constants;
import _VisualDVM.Global;
import _VisualDVM.Repository.RepositoryServer;
import _VisualDVM.Repository.Server.SafeServerExchangeUnit;
import _VisualDVM.Repository.Server.ServerCode;
import _VisualDVM.Repository.Server.ServerExchangeUnit_2021;
import _VisualDVM.Utils;
@@ -54,7 +53,7 @@ public abstract class RepositoryPass<S extends RepositoryServer, T> extends Pass
out = null;
}
protected abstract void ServerAction() throws Exception;
protected void Command(ServerExchangeUnit_2021 request_in) throws Exception {
protected void unsafe_command(ServerExchangeUnit_2021 request_in) throws Exception {
ExitCode = ServerCode.Undefined;
client_request = request_in;
out.writeObject(client_request);
@@ -66,6 +65,9 @@ public abstract class RepositoryPass<S extends RepositoryServer, T> extends Pass
break;
}
}
protected void Command(SafeServerExchangeUnit request_in) throws Exception {
unsafe_command(request_in);
}
@Override
protected void body() throws Exception {
connect();