NOISIF Platform
Toggle table of contents
80ccce4
java
Target filter
java
Switch theme
Search in API
Skip to content
NOISIF Platform
NSL Netclient
/
xyz.noisif.nsl.netclient.websocket.registry
/
InMemoryWsClientSessionRegistry
In
Memory
Ws
Client
Session
Registry
open
class
InMemoryWsClientSessionRegistry
:
GenericConcurrentRegistry
<
String
,
WsClientSession
>
,
WsClientSessionRegistry
Members
Constructors
In
Memory
Ws
Client
Session
Registry
Link copied to clipboard
private
constructor
(
)
Properties
allow
Overwrite
Link copied to clipboard
private
val
allowOverwrite
:
Boolean
log
Link copied to clipboard
protected
val
log
:
Logger
registry
Link copied to clipboard
private
val
registry
:
Map
<
K
,
V
>
Functions
clear
Link copied to clipboard
open
fun
clear
(
)
create
Default
Link copied to clipboard
open
fun
createDefault
(
)
:
InMemoryWsClientSessionRegistry
get
Link copied to clipboard
open
fun
get
(
key
:
K
)
:
V
get
All
Link copied to clipboard
open
fun
getAll
(
)
:
Collection
<
V
>
get
Any
Session
Link copied to clipboard
open
fun
getAnySession
(
clientGroup
:
ClientGroup
)
:
Optional
<
WsClientSession
>
get
Entries
Link copied to clipboard
open
fun
getEntries
(
)
:
Map
<
K
,
V
>
get
Or
Null
Link copied to clipboard
open
fun
getOrNull
(
key
:
K
)
:
V
get
Sessions
Link copied to clipboard
open
fun
getSessions
(
clientGroup
:
ClientGroup
)
:
Collection
<
WsClientSession
>
put
Direct
Link copied to clipboard
protected
open
fun
putDirect
(
key
:
K
,
value
:
V
)
:
V
register
Link copied to clipboard
open
fun
register
(
key
:
K
,
value
:
V
)
open
fun
register
(
session
:
WsClientSession
)
remove
Link copied to clipboard
open
fun
remove
(
key
:
K
)
:
Boolean
remove
Direct
Link copied to clipboard
open
fun
removeDirect
(
key
:
K
,
value
:
V
)
:
Boolean
unregister
Link copied to clipboard
open
fun
unregister
(
session
:
WsClientSession
)