public abstract class OneToOneStrictEncoder extends OneToOneEncoder
OneToOneEncoder
which enforce strict ordering of encoding and writing. This
class should get extend by implementations that needs this enforcement to guaranteer no corruption.
Basically all "message" based OneToOneEncoder
mostly don't need this, where "stream" based
are often in need of it.ChannelHandler.Sharable
构造器和说明 |
---|
OneToOneStrictEncoder() |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
doEncode(ChannelHandlerContext ctx,
MessageEvent e) |
encode, handleDownstream
protected boolean doEncode(ChannelHandlerContext ctx, MessageEvent e) throws java.lang.Exception
doEncode
在类中 OneToOneEncoder
java.lang.Exception