接口的使用
org.springframework.messaging.simp.user.SimpSession
使用SimpSession的程序包 程序包 说明 org.springframework.messaging.simp.user Support for handling messages to "user" destinations (i.e. destinations that are unique to a user's sessions), primarily translating the destinations and then forwarding the updated message to the broker.org.springframework.messaging.simp.user中SimpSession的使用
返回SimpSession的org.springframework.messaging.simp.user中的方法 修饰符和类型 方法 说明 SimpSessionSimpSubscription. getSession()Return the session of the subscription.SimpSessionSimpUser. getSession(String sessionId)Look up the session for the given id.返回变量类型为SimpSession的类型的org.springframework.messaging.simp.user中的方法 修饰符和类型 方法 说明 Set<SimpSession>SimpUser. getSessions()Return the sessions for the user.