public class SessionGroupManager extends Object
| 构造器和说明 |
|---|
SessionGroupManager(org.springframework.beans.factory.BeanFactory beanFactory,
WebsocketProperties properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addSession(String path,
IWsSession<?> iWsSession) |
<T> ConcurrentLinkedDeque<IWsSession<?>> |
getSession(T userId,
String path) |
protected void |
releaseChannel(io.netty.channel.ChannelHandlerContext ctx) |
public SessionGroupManager(org.springframework.beans.factory.BeanFactory beanFactory,
WebsocketProperties properties)
protected void addSession(String path, IWsSession<?> iWsSession)
public <T> ConcurrentLinkedDeque<IWsSession<?>> getSession(T userId, String path)
protected void releaseChannel(io.netty.channel.ChannelHandlerContext ctx)
Copyright © 2022. All rights reserved.