MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / send

Method send

src/main/java/fielded/webserver/Server.java:343–348  ·  view source on GitHub ↗
(String name, String message)

Source from the content-addressed store, hash-verified

341 if (knownSockets.get(name) != null) queue(() -> knownSockets.get(name).send(message));
342 else throw new ConnectionLost(" cannot find connection called " + name);
343 }
344 }
345
346 public void send(WebSocket name, String message) {
347
348 if (Execution.performanceMode) return;
349
350 queue(() -> name.send(message));
351 }

Callers 3

ServerSupportMethod · 0.45
broadcastMethod · 0.45
executeMethod · 0.45

Calls 2

queueMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected