Changeset 21 for src/main/java/geniusweb/partiesserver/websocket
- Timestamp:
- 10/06/20 13:12:31 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/geniusweb/partiesserver/websocket/PartySocket.java
r18 r21 19 19 import javax.websocket.server.ServerEndpoint; 20 20 21 import com.fasterxml.jackson.core.JsonParseException;22 import com.fasterxml.jackson.databind.JsonMappingException;23 21 import com.fasterxml.jackson.databind.ObjectMapper; 24 22 … … 124 122 * {@link Inform} 125 123 * @param session the session. We already have this info. 124 * @throws IOException if there is a socket/connection error, we can't parse 125 * the received data, etc 126 126 */ 127 127 @OnMessage 128 128 public void onMessage(String informmessage, Session session) 129 throws JsonParseException, JsonMappingException,IOException {129 throws IOException { 130 130 if (this.session != session) { 131 131 throw new IllegalStateException("Unexpected change of session ID");
Note:
See TracChangeset
for help on using the changeset viewer.