public class WebSocketServerHandler extends io.netty.channel.SimpleChannelInboundHandler<Object>
| 构造器和说明 |
|---|
WebSocketServerHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
handlerRemoved(io.netty.channel.ChannelHandlerContext ctx) |
channelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredprotected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws IOException
channelRead0 在类中 io.netty.channel.SimpleChannelInboundHandler<Object>IOExceptionpublic void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
channelReadComplete 在接口中 io.netty.channel.ChannelInboundHandlerchannelReadComplete 在类中 io.netty.channel.ChannelInboundHandlerAdapterpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught 在接口中 io.netty.channel.ChannelHandlerexceptionCaught 在接口中 io.netty.channel.ChannelInboundHandlerexceptionCaught 在类中 io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2025. All rights reserved.