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

Method Onz

ZezeJava/ZezeJava/src/main/java/Zeze/Onz/Onz.java:41–50  ·  view source on GitHub ↗
(Application zeze)

Source from the content-addressed store, hash-verified

39 }
40
41 public Onz(Application zeze) {
42 this.zeze = zeze;
43 var config = zeze.getConfig();
44 if (null != config.getServiceConf(OnzService.eName)) {
45 service = new OnzService(zeze);
46 RegisterProtocols(service);
47 } else {
48 service = null;
49 }
50 }
51
52 public void start() throws Exception {
53 if (null != service) {

Callers

nothing calls this directly

Calls 3

getServiceConfMethod · 0.80
getConfigMethod · 0.45
RegisterProtocolsMethod · 0.45

Tested by

no test coverage detected