MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / getSrvRecordName

Method getSrvRecordName

src/main/java/io/DnsSrvResolver.java:68–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }
67
68 private String getSrvRecordName() {
69 String srv="srv#"+server;
70 if (srv.length()>32) return srv.substring(0, 31);
71 return srv;
72 }
73
74 private boolean getCachedSrv() {
75 DataInputStream inputStream=NvStorage.ReadFileRecord(getSrvRecordName(), 0);

Callers 2

getCachedSrvMethod · 0.95
writeSrvCacheMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected