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

Method send

ZezeJava/ZezeJava/src/main/java/Zeze/Arch/Online.java:775–778  ·  view source on GitHub ↗
(@NotNull AsyncSocket to, @NotNull Map<Long, BLoginKey> contexts, @NotNull Send send)

Source from the content-addressed store, hash-verified

773 }
774
775 public boolean send(@NotNull AsyncSocket to, @NotNull Map<Long, BLoginKey> contexts, @NotNull Send send) {
776 return send.Send(to, rpc -> triggerLinkBroken(ProviderService.getLinkName(to),
777 send.isTimeout() ? send.Argument.getLinkSids() : send.Result.getErrorLinkSids(), contexts));
778 }
779
780 public boolean send(@NotNull String linkName, long linkSid, @NotNull Protocol<?> p) {
781 return send(null, linkName, linkSid, p);

Callers 4

sendResponseMethod · 0.95
sendWhileCommitMethod · 0.95
sendWhileRollbackMethod · 0.95

Calls 15

triggerLinkBrokenMethod · 0.95
getLinkNameMethod · 0.95
canLogProtocolMethod · 0.95
logMethod · 0.95
sendDirectMethod · 0.95
getLinksMethod · 0.80
setLengthMethod · 0.80
getMethod · 0.65
getTypeIdMethod · 0.65
getAccountMethod · 0.65
getClientIdMethod · 0.65
encodeMethod · 0.65

Tested by

no test coverage detected