类 ByteBufPair.Encoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelOutboundHandlerAdapter
-
- org.apache.pulsar.common.protocol.ByteBufPair.Encoder
-
- 所有已实现的接口:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelOutboundHandler
- 封闭类:
- ByteBufPair
@Sharable public static class ByteBufPair.Encoder extends io.netty.channel.ChannelOutboundHandlerAdapter
-
-
构造器概要
构造器 构造器 说明 Encoder()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
write(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object msg, io.netty.channel.ChannelPromise promise)
-
从类继承的方法 io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, read
-
从类继承的方法 io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
-
-
-
-
方法详细资料
-
write
public void write(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object msg, io.netty.channel.ChannelPromise promise) throws java.lang.Exception
- 指定者:
write
在接口中io.netty.channel.ChannelOutboundHandler
- 覆盖:
write
在类中io.netty.channel.ChannelOutboundHandlerAdapter
- 抛出:
java.lang.Exception
-
-