mirror of
https://gitee.com/BDWare/cp.git
synced 2025-01-10 01:44:08 +00:00
fix doiputil
This commit is contained in:
parent
8ffaa3f535
commit
de617542e9
@ -219,7 +219,7 @@ public class DOIPUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static IRPClientWrapper createIrpClient(String uri, String pubkey, String privateKey,
|
public static IRPClientWrapper createIrpClient(String uri, String pubkey, String privateKey,
|
||||||
String repoName) {
|
String repoName) {
|
||||||
EndpointConfig config = new EndpointConfig();
|
EndpointConfig config = new EndpointConfig();
|
||||||
config.routerURI = uri;
|
config.routerURI = uri;
|
||||||
config.repoName = repoName;
|
config.repoName = repoName;
|
||||||
|
@ -95,7 +95,7 @@ public class DoipLocalSingleton {
|
|||||||
DOOPRequestHandler handler = ContractProcess.instance.doopRequestHandler;
|
DOOPRequestHandler handler = ContractProcess.instance.doopRequestHandler;
|
||||||
server.setRequestCallback(handler);
|
server.setRequestCallback(handler);
|
||||||
if (config != null)
|
if (config != null)
|
||||||
SharableVarManager.initSharableVarManager(info.id, config);
|
SharableVarManager.initSharableVarManager(info.id, config);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user