public interface WebSocketSessionRepository
Modifier and Type | Method and Description |
---|---|
void |
addChannel(io.netty.channel.Channel channel)
Adds a channel to the repository.
|
io.netty.channel.group.ChannelGroup |
getChannelGroup()
Returns the
ChannelGroup used to store WebSocketSessions. |
void |
removeChannel(io.netty.channel.Channel channel)
Remove a channel from the repository.
|
void addChannel(io.netty.channel.Channel channel)
channel
- The channelvoid removeChannel(io.netty.channel.Channel channel)
channel
- The channelio.netty.channel.group.ChannelGroup getChannelGroup()
ChannelGroup
used to store WebSocketSessions.ChannelGroup