public class MasterServerAddressDecoder extends MessageInboundDecoder
MasterServerAddressDecoder class.
Constructor and Description |
---|
MasterServerAddressDecoder() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptMessage(AbstractRequest request,
Object msg)
acceptMessage.
|
void |
channelActive(@NotNull io.netty.channel.ChannelHandlerContext ctx) |
void |
channelInactive(@NotNull io.netty.channel.ChannelHandlerContext ctx) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
protected Object |
decodeMessage(io.netty.channel.ChannelHandlerContext ctx,
AbstractRequest request,
Object msg)
decodeMessage.
|
afterDecode, beforeDecode, isSuppressLog, readMessage, setSuppressLog
channelRead, debug, debug, debug, debug, error, error, handlerAdded, handlerRemoved, info, isDebugEnabled, log, log, printField, trace, warn
protected boolean acceptMessage(AbstractRequest request, Object msg)
acceptMessage.
acceptMessage
in class MessageInboundDecoder
request
- a AbstractRequest
objectmsg
- a Object
objectprotected Object decodeMessage(io.netty.channel.ChannelHandlerContext ctx, AbstractRequest request, Object msg)
decodeMessage.
decodeMessage
in class MessageInboundDecoder
ctx
- a ChannelHandlerContext
objectrequest
- a AbstractRequest
objectmsg
- a Object
objectObject
objectpublic void channelActive(@NotNull @NotNull io.netty.channel.ChannelHandlerContext ctx) throws Exception
channelActive
in interface io.netty.channel.ChannelInboundHandler
channelActive
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void channelInactive(@NotNull @NotNull io.netty.channel.ChannelHandlerContext ctx) throws Exception
channelInactive
in interface io.netty.channel.ChannelInboundHandler
channelInactive
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) throws Exception
channelReadComplete
in interface io.netty.channel.ChannelInboundHandler
channelReadComplete
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
Copyright © 2016–2024. All rights reserved.