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

Method processErrorSids

ZezeJava/ZezeJava/src/main/java/Zeze/Arch/Online.java:865–871  ·  view source on GitHub ↗
(LongList errorSids, LinkRoles group)

Source from the content-addressed store, hash-verified

863 }
864
865 private void processErrorSids(LongList errorSids, LinkRoles group) {
866 errorSids.foreach(linkSid -> Task.run(providerApp.zeze.newProcedure(() -> {
867 int idx = group.send.Argument.getLinkSids().indexOf(linkSid);
868 var loginKey = group.accounts.get(idx);
869 return idx >= 0 ? sendError(loginKey.getAccount(), loginKey.getClientId(), group.linkName, linkSid) : 0;
870 }, "Online.triggerLinkBroken2")));
871 }
872
873 private static long getTypeId(@NotNull Binary fullEncodedProtocol) {
874 int moduleId = ByteBuffer.ToInt(fullEncodedProtocol.bytesUnsafe(), 0);

Callers 3

sendDirectMethod · 0.95
sendAccountDirectMethod · 0.95
sendAccountsDirectMethod · 0.95

Calls 9

runMethod · 0.95
sendErrorMethod · 0.95
foreachMethod · 0.65
getMethod · 0.65
getAccountMethod · 0.65
getClientIdMethod · 0.65
newProcedureMethod · 0.45
indexOfMethod · 0.45
getLinkSidsMethod · 0.45

Tested by

no test coverage detected