MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / writeSrvCache

Method writeSrvCache

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

Source from the content-addressed store, hash-verified

89 }
90
91 private void writeSrvCache() {
92
93 DataOutputStream outputStream=NvStorage.CreateDataOutputStream();
94 try {
95 outputStream.writeUTF(resolvedHost);
96 outputStream.writeInt(resolvedPort);
97 outputStream.writeLong(ttl);
98 } catch (Exception e) {
99 }
100 NvStorage.writeFileRecord(outputStream, getSrvRecordName(), 0, true);
101
102 }
103
104 private boolean askInetSrv() {
105 cf=Config.getInstance();

Callers 1

getSrvMethod · 0.95

Calls 4

writeFileRecordMethod · 0.95
getSrvRecordNameMethod · 0.95
writeUTFMethod · 0.80

Tested by

no test coverage detected