MCPcopy Create free account
hub / github.com/e2wugui/zeze / LinkdLoad

Method LinkdLoad

ZezeJava/ZezeJava/src/main/java/Zeze/Arch/LinkdLoad.java:11–20  ·  view source on GitHub ↗
(LinkdApp linkdApp)

Source from the content-addressed store, hash-verified

9 private final int linkdPort;
10
11 public LinkdLoad(LinkdApp linkdApp) {
12 super(linkdApp.zeze);
13 this.linkdApp = linkdApp;
14 var kv = linkdApp.linkdService.getOnePassiveAddress();
15 linkdIp = kv.getKey();
16 linkdPort = kv.getValue();
17 var loginQueueAgent = new LoginQueueAgent(linkdApp.zeze.getConfig(),
18 linkdApp.zeze.getConfig().getServerId(), linkdIp, linkdPort);
19 super.setLoginQueueAgent(loginQueueAgent);
20 }
21
22 public String getLinkdIp() {
23 return linkdIp;

Callers

nothing calls this directly

Calls 6

getOnePassiveAddressMethod · 0.80
setLoginQueueAgentMethod · 0.80
getKeyMethod · 0.65
getValueMethod · 0.65
getServerIdMethod · 0.65
getConfigMethod · 0.45

Tested by

no test coverage detected