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

Method SendResult

ZezeJava/ZezeJava/src/main/java/Zeze/Net/Rpc.java:217–228  ·  view source on GitHub ↗
(@Nullable Binary result)

Source from the content-addressed store, hash-verified

215 }
216
217 @Override
218 public void SendResult(@Nullable Binary result) {
219 if (sendResultDone) {
220 logger.error("Rpc.SendResult Already Done: {} {}", getSender(), this, new Exception("only for stack trace"));
221 return;
222 }
223 sendResultDone = true;
224 resultEncoded = result;
225 isRequest = false;
226 if (!super.Send(getSender()))
227 logger.warn("Rpc.SendResult Failed: {} {}", getSender(), this);
228 }
229
230 @Override
231 public boolean trySendResultCode(long code) {

Callers 15

trySendResultCodeMethod · 0.95
ProcessBenchEndMethod · 0.45
ProcessRpc1RequestMethod · 0.45
ProcessSendRequestMethod · 0.45
ProcessCommit2RequestMethod · 0.45
reduceShareMethod · 0.45

Calls 2

getSenderMethod · 0.65
SendMethod · 0.45

Tested by 3

ProcessBenchEndMethod · 0.36
ProcessRpc1RequestMethod · 0.36