Class MessageDecoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame>
-
- org.drasyl.peer.connection.handler.MessageDecoder
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
@Sharable public class MessageDecoder extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame> implements io.netty.channel.ChannelInboundHandler
-
-
Field Summary
Fields Modifier and Type Field Description static MessageDecoder
INSTANCE
static String
MESSAGE_DECODER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame msg, List<Object> out)
-
Methods inherited from class io.netty.handler.codec.MessageToMessageDecoder
acceptInboundMessage, channelRead
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Field Detail
-
INSTANCE
public static final MessageDecoder INSTANCE
-
MESSAGE_DECODER
public static final String MESSAGE_DECODER
- See Also:
- Constant Field Values
-
-