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

Method Send

ZezeJava/ZezeJava/src/main/java/Zeze/Net/Rpc.java:125–128  ·  view source on GitHub ↗

使用当前 rpc 中设置的参数发送。 总是建立上下文,总是返回true。 这个方法是 Protocol 的重载。 用于不需要处理结果的请求 或者重新发送已经设置过 ResponseHandle 等的请求。 @param so socket to sendTo @return true: success.

(@Nullable AsyncSocket so)

Source from the content-addressed store, hash-verified

123 * @return true: success.
124 */
125 @Override
126 public boolean Send(@Nullable AsyncSocket so) {
127 return Send(so, responseHandle, timeout);
128 }
129
130 /**
131 * 异步发送rpc请求。

Callers 15

SendForWaitMethod · 0.95
testBenchMethod · 0.45
ProcessProtocol3Method · 0.45
ProcessRpc1RequestMethod · 0.45
testSendDispatchMethod · 0.45
processServerPValueMethod · 0.45
OnSocketConnectedMethod · 0.45
redirectCancelMethod · 0.45
redirectRemoveLocalMethod · 0.45
removeRankMethod · 0.45
updateRankMethod · 0.45
redirectRemoveLocalMethod · 0.45

Calls 4

addRpcContextMethod · 0.95
scheduleMethod · 0.95
removeRpcContextMethod · 0.95
getServiceMethod · 0.45

Tested by 6

testBenchMethod · 0.36
ProcessProtocol3Method · 0.36
ProcessRpc1RequestMethod · 0.36
testSendDispatchMethod · 0.36
processServerPValueMethod · 0.36
OnSocketConnectedMethod · 0.36