NOISIF Platform
Toggle table of contents
80ccce4
java
Target filter
java
Switch theme
Search in API
Skip to content
NOISIF Platform
NSL WebSocket
/
xyz.noisif.nsl.websocket.registry
/
WsSessionRegistry
Ws
Session
Registry
interface
WsSessionRegistry
:
RegistryTracker
<
WsSession
>
,
WsSubscriptionRegistry
Inheritors
InMemoryWsSessionRegistry
Members
Functions
get
All
Sessions
Link copied to clipboard
abstract
fun
getAllSessions
(
)
:
Collection
<
WsSession
>
get
Subscribers
Link copied to clipboard
abstract
fun
getSubscribers
(
topic
:
WsTopic
)
:
Collection
<
WsSession
>
get
Unsafe
Subscribers
Link copied to clipboard
abstract
fun
getUnsafeSubscribers
(
topic
:
String
)
:
Collection
<
WsSession
>
register
Link copied to clipboard
abstract
fun
register
(
p
:
V
)
subscribe
Link copied to clipboard
abstract
fun
subscribe
(
session
:
WsSession
,
topic
:
WsTopic
)
unregister
Link copied to clipboard
abstract
fun
unregister
(
p
:
V
)
unsubscribe
Link copied to clipboard
abstract
fun
unsubscribe
(
session
:
WsSession
,
topic
:
WsTopic
)