public class DOIPCodec
extends io.netty.handler.codec.ByteToMessageCodec<java.lang.Object>
| 构造器和说明 |
|---|
DOIPCodec() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg,
io.netty.buffer.ByteBuf out) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause) |
acceptOutboundMessage, channelInactive, channelRead, channelReadComplete, decodeLast, handlerAdded, handlerRemoved, writebind, close, connect, deregister, disconnect, flush, readprotected void encode(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg,
io.netty.buffer.ByteBuf out)
throws java.lang.Exception
encode 在类中 io.netty.handler.codec.ByteToMessageCodec<java.lang.Object>java.lang.Exceptionprotected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
java.util.List<java.lang.Object> out)
throws java.lang.Exception
decode 在类中 io.netty.handler.codec.ByteToMessageCodec<java.lang.Object>java.lang.Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause)
exceptionCaught 在接口中 io.netty.channel.ChannelHandlerexceptionCaught 在接口中 io.netty.channel.ChannelInboundHandlerexceptionCaught 在类中 io.netty.channel.ChannelInboundHandlerAdapter