Class MemoryWebsocketSessions
java.lang.Object
java.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentHashMap<String,javax.websocket.Session>
org.openremote.container.web.socket.MemoryWebsocketSessions
- All Implemented Interfaces:
Serializable,ConcurrentMap<String,,javax.websocket.Session> Map<String,,javax.websocket.Session> org.apache.camel.Service,WebsocketSessions
public class MemoryWebsocketSessions
extends ConcurrentHashMap<String,javax.websocket.Session>
implements WebsocketSessions
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,V extends Object> Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, valuesMethods inherited from class java.util.AbstractMap
clone
-
Constructor Details
-
MemoryWebsocketSessions
public MemoryWebsocketSessions()
-
-
Method Details
-
add
public void add(javax.websocket.Session websocketSession) - Specified by:
addin interfaceWebsocketSessions
-
remove
public void remove(javax.websocket.Session websocketSession) - Specified by:
removein interfaceWebsocketSessions
-
get
- Specified by:
getin interfaceWebsocketSessions
-
getAll
- Specified by:
getAllin interfaceWebsocketSessions
-
start
- Specified by:
startin interfaceorg.apache.camel.Service- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.apache.camel.Service- Throws:
Exception
-