public class PortUnificationServerHandler
extends io.netty.handler.codec.ByteToMessageDecoder
| 构造器和说明 |
|---|
PortUnificationServerHandler(List<WireProtocol> protocols) |
PortUnificationServerHandler(io.netty.handler.ssl.SslContext sslCtx,
List<WireProtocol> protocols) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
io.netty.channel.group.DefaultChannelGroup |
getChannels() |
channelRead, channelReadComplete, handlerRemoved, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredpublic PortUnificationServerHandler(List<WireProtocol> protocols)
public PortUnificationServerHandler(io.netty.handler.ssl.SslContext sslCtx,
List<WireProtocol> protocols)
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught 在接口中 io.netty.channel.ChannelHandlerexceptionCaught 在接口中 io.netty.channel.ChannelInboundHandlerexceptionCaught 在类中 io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic io.netty.channel.group.DefaultChannelGroup getChannels()
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelActive 在接口中 io.netty.channel.ChannelInboundHandlerchannelActive 在类中 io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.