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

Method processTransmit

ZezeJava/ZezeJava/src/main/java/Zeze/Arch/Online.java:1341–1351  ·  view source on GitHub ↗
(@NotNull String account, @NotNull String clientId, @NotNull String actionName,
								 @NotNull Collection<BLoginKey> accounts, @Nullable Binary parameter)

Source from the content-addressed store, hash-verified

1339 }
1340
1341 private void processTransmit(@NotNull String account, @NotNull String clientId, @NotNull String actionName,
1342 @NotNull Collection<BLoginKey> accounts, @Nullable Binary parameter) {
1343 var handle = transmitActions.get(actionName);
1344 if (handle != null) {
1345 for (var target : accounts) {
1346 providerApp.zeze.newProcedure(() ->
1347 handle.call(account, clientId, target.getAccount(), target.getClientId(), parameter),
1348 "Online.processTransmit:" + actionName).call();
1349 }
1350 }
1351 }
1352
1353 public static class RoleOnServer {
1354 public final int serverId; // empty when not online

Callers 1

transmitInProcedureMethod · 0.95

Calls 5

getMethod · 0.65
callMethod · 0.65
getAccountMethod · 0.65
getClientIdMethod · 0.65
newProcedureMethod · 0.45

Tested by

no test coverage detected