Package de.bwaldvogel.mongo.wire
Class MongoWireEncoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelOutboundHandlerAdapter
-
- io.netty.handler.codec.MessageToByteEncoder<MongoReply>
-
- de.bwaldvogel.mongo.wire.MongoWireEncoder
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelOutboundHandler
public class MongoWireEncoder extends io.netty.handler.codec.MessageToByteEncoder<MongoReply>
-
-
Constructor Summary
Constructors Constructor Description MongoWireEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidencode(io.netty.channel.ChannelHandlerContext ctx, MongoReply reply, io.netty.buffer.ByteBuf buf)-
Methods inherited from class io.netty.handler.codec.MessageToByteEncoder
acceptOutboundMessage, allocateBuffer, isPreferDirect, write
-
Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, read
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Method Detail
-
encode
protected void encode(io.netty.channel.ChannelHandlerContext ctx, MongoReply reply, io.netty.buffer.ByteBuf buf) throws java.lang.Exception- Specified by:
encodein classio.netty.handler.codec.MessageToByteEncoder<MongoReply>- Throws:
java.lang.Exception
-
-