MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / callOnChunkSend

Method callOnChunkSend

src/main/java/core/packetproxy/Simplex.java:175–185  ·  view source on GitHub ↗
(byte[] data)

Source from the content-addressed store, hash-verified

173 }
174
175 public byte[] callOnChunkSend(byte[] data) throws Exception {
176 if (!isEnabledSimplexEvent()) {
177
178 return data;
179 }
180 for (SimplexEventListener listener : simplexEventListenerList.getListeners(SimplexEventListener.class)) {
181
182 return listener.onChunkSend(data);
183 }
184 return data;
185 }
186
187 public Simplex(InputStream in, OutputStream out) throws Exception {
188 this.in = in;

Callers 1

sendMethod · 0.95

Calls 2

isEnabledSimplexEventMethod · 0.95
onChunkSendMethod · 0.65

Tested by

no test coverage detected