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

Method send

src/main/java/io/Utf8IOStream.java:109–121  ·  view source on GitHub ↗
(String data)

Source from the content-addressed store, hash-verified

107 }
108
109 public void send(String data) throws IOException {
110 synchronized (outStream) {
111 StaticData.getInstance().updateTrafficOut();
112 outStream.write(data.getBytes("UTF-8"));
113 setSent(bytesSent + data.length());
114
115 outStream.flush();
116 updateTraffic();
117 }
118 if (StaticData.XmlDebug) {
119 System.out.println(">> " + data);
120 }
121 }
122
123 int length;
124 int pbyte;

Callers

nothing calls this directly

Calls 7

getInstanceMethod · 0.95
setSentMethod · 0.95
updateTrafficMethod · 0.95
updateTrafficOutMethod · 0.80
writeMethod · 0.80
flushMethod · 0.80
getBytesMethod · 0.45

Tested by

no test coverage detected