()
| 183 | } |
| 184 | |
| 185 | public void recreateRoom() |
| 186 | { |
| 187 | if(this.roomHidden == true) |
| 188 | { |
| 189 | this.roomCreated = true; |
| 190 | this.roomHidden = false; |
| 191 | this.roomInvalid = false; |
| 192 | this.roomListed = true; |
| 193 | |
| 194 | try |
| 195 | { |
| 196 | String message = NetworkProtocol.CREATE_ROOM+"&"+URLEncoder.encode(this.roomName, "UTF-8")+"&"+this.roomPort; |
| 197 | this.connection.sendMessage(message); |
| 198 | } |
| 199 | catch(Exception e) |
| 200 | { |
| 201 | e.printStackTrace(); |
| 202 | } |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | public void createRoom(String roomName, int portNumber) |
| 207 | { |
no test coverage detected