类 BilibiliCodecHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
io.netty.handler.codec.MessageToMessageCodec<io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame,MSG>
tech.ordinaryroad.live.chat.client.servers.netty.client.handler.BinaryWebSocketFrameToMessageCodec<IBilibiliMsg>
tech.ordinaryroad.live.chat.client.bilibili.netty.handler.BilibiliCodecHandler
- 所有已实现的接口:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler,io.netty.channel.ChannelOutboundHandler
public class BilibiliCodecHandler
extends tech.ordinaryroad.live.chat.client.servers.netty.client.handler.BinaryWebSocketFrameToMessageCodec<IBilibiliMsg>
B站编解码Handler
- 作者:
- mjz
-
嵌套类概要
从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
构造器概要
构造器 -
方法概要
从类继承的方法 io.netty.handler.codec.MessageToMessageCodec
acceptInboundMessage, acceptOutboundMessage, channelRead, write从类继承的方法 io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, read从类继承的方法 io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered从类继承的方法 io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
构造器详细资料
-
BilibiliCodecHandler
public BilibiliCodecHandler()
-
-
方法详细资料
-
encode
protected void encode(io.netty.channel.ChannelHandlerContext ctx, IBilibiliMsg msg, List<Object> out) throws Exception - 指定者:
encode在类中io.netty.handler.codec.MessageToMessageCodec<io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame,IBilibiliMsg> - 抛出:
Exception
-
decode
protected void decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame msg, List<Object> out) throws Exception - 指定者:
decode在类中io.netty.handler.codec.MessageToMessageCodec<io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame,IBilibiliMsg> - 抛出:
Exception
-