类 PortUnificationServerHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.codec.ByteToMessageDecoder
-
- org.apache.dubbo.remoting.api.PortUnificationServerHandler
-
- 所有已实现的接口:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class PortUnificationServerHandler extends io.netty.handler.codec.ByteToMessageDecoder
-
-
构造器概要
构造器 构造器 说明 PortUnificationServerHandler(io.netty.handler.ssl.SslContext sslCtx, boolean detectSsl, List<WireProtocol> protocols)PortUnificationServerHandler(io.netty.handler.ssl.SslContext sslCtx, List<WireProtocol> protocols)PortUnificationServerHandler(List<WireProtocol> protocols)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidchannelActive(io.netty.channel.ChannelHandlerContext ctx)voidchannelInactive(io.netty.channel.ChannelHandlerContext ctx)voidexceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)io.netty.channel.group.DefaultChannelGroupgetChannels()-
从类继承的方法 io.netty.handler.codec.ByteToMessageDecoder
channelRead, channelReadComplete, handlerRemoved, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
-
-
-
-
构造器详细资料
-
PortUnificationServerHandler
public PortUnificationServerHandler(List<WireProtocol> protocols)
-
PortUnificationServerHandler
public PortUnificationServerHandler(io.netty.handler.ssl.SslContext sslCtx, List<WireProtocol> protocols)
-
PortUnificationServerHandler
public PortUnificationServerHandler(io.netty.handler.ssl.SslContext sslCtx, boolean detectSsl, List<WireProtocol> protocols)
-
-
方法详细资料
-
exceptionCaught
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception- 指定者:
exceptionCaught在接口中io.netty.channel.ChannelHandler- 指定者:
exceptionCaught在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
exceptionCaught在类中io.netty.channel.ChannelInboundHandlerAdapter- 抛出:
Exception
-
getChannels
public io.netty.channel.group.DefaultChannelGroup getChannels()
-
channelActive
public void channelActive(io.netty.channel.ChannelHandlerContext ctx) throws Exception- 指定者:
channelActive在接口中io.netty.channel.ChannelInboundHandler- 覆盖:
channelActive在类中io.netty.channel.ChannelInboundHandlerAdapter- 抛出:
Exception
-
-