Interface to pluggable WebSocket client implementation @author mwalton
| 8 | * @author mwalton |
| 9 | */ |
| 10 | public interface WsClient { |
| 11 | |
| 12 | public interface WsClientConnection { |
| 13 | void disconnect() throws RestException; |
| 14 | } |
| 15 | |
| 16 | WsClientConnection connect(HttpResponseHandler callback, |
| 17 | String url, |
| 18 | List<HttpParam> lParamQuery) throws RestException; |
| 19 | |
| 20 | void destroy(); |
| 21 | |
| 22 | boolean isWsConnected(); |
| 23 | |
| 24 | } |
no outgoing calls
no test coverage detected