spring-framework / org.springframework.messaging.simp.user / SimpUser / getSessions

getSessions

abstract fun getSessions(): MutableSet<SimpSession>

Return the sessions for the user. The returned set is a copy and will never be modified.

Return
a set of session ids, or an empty set if none