MCPcopy Create free account
hub / github.com/catabriga/graphwar / sendMessageAll

Method sendMessageAll

src/GraphServer/GraphServer.java:189–199  ·  view source on GitHub ↗
(String message)

Source from the content-addressed store, hash-verified

187 }
188
189 private void sendMessageAll(String message)
190 {
191 ListIterator<ClientConnection> itr = clients.listIterator();
192
193 while(itr.hasNext())
194 {
195 ClientConnection client = itr.next();
196
197 client.sendMessage(message);
198 }
199 }
200
201 private void sendLeaderMessage(ClientConnection client)
202 {

Callers 10

finalizeMethod · 0.95
setEveryoneNotReadyMethod · 0.95
sendModeMessageMethod · 0.95
removeClientMethod · 0.95
sendStartCountDownMethod · 0.95
reorderPlayersMethod · 0.95
startGameMethod · 0.95
nextTurnMethod · 0.95
finishGameMethod · 0.95
handleMessageMethod · 0.95

Calls 1

sendMessageMethod · 0.95

Tested by

no test coverage detected