public class ChannelSupervise extends Object
| 构造器和说明 |
|---|
ChannelSupervise() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
addChannel(io.netty.channel.Channel channel) |
static io.netty.channel.Channel |
findChannel(String id) |
static void |
removeChannel(io.netty.channel.Channel channel) |
static void |
send2All(io.netty.handler.codec.http.websocketx.TextWebSocketFrame tws) |
public static void addChannel(io.netty.channel.Channel channel)
public static void removeChannel(io.netty.channel.Channel channel)
public static io.netty.channel.Channel findChannel(String id)
public static void send2All(io.netty.handler.codec.http.websocketx.TextWebSocketFrame tws)
Copyright © 2022. All rights reserved.