Changes between Version 23 and Version 24 of WikiStart
- Timestamp:
- 03/12/19 16:36:06 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v23 v24 58 58 59 59 60 There are java examples available [https://tracinsy.ewi.tudelft.nl/trac/Genius2ProfilesServer/browser/src/test/java/genius2/examples here]. Basically you just open a websocket and read the incoming profile like this (NOTICE: this is using neovisionaries WebSocketAdapter which is an external library; but we recommend the built-in javax.websocket)60 There are java examples available [https://tracinsy.ewi.tudelft.nl/trac/Genius2ProfilesServer/browser/src/test/java/genius2/examples here]. Basically you just open a websocket and read the incoming profile like this (NOTICE: this is using neovisionaries WebSocketAdapter which is an external library; but we recommend the java built-in javax.websocket, see the [https://tracinsy.ewi.tudelft.nl/trac/Genius2ProfilesServer/browser/src/test/java/genius2/examples]) 61 61 {{{ 62 62 WebSocketFactory factory = new WebSocketFactory().setConnectionTimeout(5000);