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

Method removeRoom

src/GlobalServer/GlobalServer.java:176–186  ·  view source on GitHub ↗
(Room room)

Source from the content-addressed store, hash-verified

174 }
175
176 public void removeRoom(Room room)
177 {
178 String message = NetworkProtocol.CLOSE_ROOM+"&"+room.getRoomID();
179 sendMessageAll(message);
180
181 synchronized(rooms)
182 {
183 rooms.remove(room);
184 }
185
186 }
187
188 private boolean tryConnection(Room room)
189 {

Callers 2

removePlayerMethod · 0.95
handleMessageMethod · 0.95

Calls 2

sendMessageAllMethod · 0.95
getRoomIDMethod · 0.45

Tested by

no test coverage detected