Sends a message to all connected clients. @param message message @throws QueryException query exception
(final Item message)
| 64 | * @throws QueryException query exception |
| 65 | */ |
| 66 | public static void emit(final Item message) throws QueryException { |
| 67 | send(message, new ArrayList<>(CLIENTS.values())); |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * Sends a message to all connected clients except to the one with the given ID. |