рефакторинг запроса версий компонент. сделал одной командой
This commit is contained in:
@@ -375,7 +375,7 @@ public abstract class RepositoryServer<D extends Database> {
|
||||
RepositoryPass pass = new RepositoryPass(this) {
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return code_in.toString();
|
||||
return code_in.getDescription();
|
||||
}
|
||||
@Override
|
||||
protected int getTimeout() {
|
||||
@@ -396,7 +396,7 @@ public abstract class RepositoryServer<D extends Database> {
|
||||
throw new PassException(Utils_.Brackets(new Date().toString()) + " Ошибка взаимодействия с сервером " + code_in);
|
||||
}
|
||||
public Object ClientRequest(ServerCode code_in,String arg_in, Serializable object_in)throws Exception {
|
||||
return ClientRequest(code_in,arg_in,object_in, 120000);
|
||||
return ClientRequest(code_in,arg_in,object_in, Global.properties.SocketTimeout);
|
||||
}
|
||||
//---
|
||||
public <T extends DBObject> T getActual(T object_in, Class<T> object_class)throws Exception{
|
||||
|
||||
Reference in New Issue
Block a user