Package io.datarouter.websocket.service
Class WebSocketConnectionStore
java.lang.Object
io.datarouter.websocket.service.WebSocketConnectionStore
@Singleton public class WebSocketConnectionStore extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebSocketConnectionStore.WebSocketConnection -
Constructor Summary
Constructors Constructor Description WebSocketConnectionStore() -
Method Summary
Modifier and Type Method Description Optional<WebSocketConnectionStore.WebSocketConnection>find(WebSocketSessionKey webSocketSessionKey)Set<Map.Entry<WebSocketSessionKey,WebSocketConnectionStore.WebSocketConnection>>list()voidput(WebSocketSession webSocketSession, javax.websocket.Session session)WebSocketConnectionStore.WebSocketConnectionremove(WebSocketSessionKey webSocketSessionKey)
-
Constructor Details
-
WebSocketConnectionStore
public WebSocketConnectionStore()
-
-
Method Details
-
put
-
find
public Optional<WebSocketConnectionStore.WebSocketConnection> find(WebSocketSessionKey webSocketSessionKey) -
remove
public WebSocketConnectionStore.WebSocketConnection remove(WebSocketSessionKey webSocketSessionKey) -
list
-