public class MasterServerRequestEncoder extends MessageOutboundEncoder<MasterServerRequest>
MasterServerRequestEncoder class.
Constructor and Description |
---|
MasterServerRequestEncoder() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptMessage(Class<MasterServerRequest> requestClass,
Envelope<MasterServerRequest> envelope)
acceptMessage.
|
protected void |
encodeMessage(io.netty.channel.ChannelHandlerContext ctx,
Envelope<MasterServerRequest> msg,
List<Object> out)
encodeMessage.
|
acceptOutboundMessage, debug, encode, error, getContext, getRequest, handlerAdded, handlerRemoved, info, isDebugEnabled, log, trace, warn, write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, isSharable
protected void encodeMessage(io.netty.channel.ChannelHandlerContext ctx, Envelope<MasterServerRequest> msg, List<Object> out) throws Exception
encodeMessage.
encodeMessage
in class MessageOutboundEncoder<MasterServerRequest>
ctx
- a ChannelHandlerContext
objectmsg
- a Envelope
objectout
- a List
objectException
- if any.protected boolean acceptMessage(Class<MasterServerRequest> requestClass, Envelope<MasterServerRequest> envelope) throws Exception
acceptMessage.
acceptMessage
in class MessageOutboundEncoder<MasterServerRequest>
requestClass
- a Class
objectenvelope
- a Envelope
objectException
- if any.Copyright © 2016–2024. All rights reserved.