T - The underlying source query request type supporting challenge-response implementationpublic abstract class SourceQueryAuthDecoder<T extends SourceQueryAuthRequest> extends SourceQueryDecoder<T>
SourceQueryDecoder.SourceQueryMessage| Modifier | Constructor and Description |
|---|---|
protected |
SourceQueryAuthDecoder(Class<T> requestClass,
int responseHeader)
Constructor for SourceQueryAuthDecoder.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
acceptPacket(SourceQueryDecoder.SourceQueryMessage msg)
acceptPacket.
|
protected Object |
decodePacket(io.netty.channel.ChannelHandlerContext ctx,
T request,
SourceQuerySinglePacket packet)
decodePacket.
|
protected abstract Object |
decodeQueryPacket(io.netty.channel.ChannelHandlerContext ctx,
T request,
SourceQuerySinglePacket msg)
decodeQueryPacket.
|
decodeField, decodeField, decodeField, decodeField, decodeField, decodeFlag, decodeFlag, decodeFlag, decodeFlag, readMessagechannelRead, debug, debug, debug, debug, error, error, handlerAdded, handlerRemoved, info, isDebugEnabled, log, log, printField, trace, warnprotected final boolean acceptPacket(SourceQueryDecoder.SourceQueryMessage msg)
acceptPacket.
acceptPacket in class SourceQueryDecoder<T extends SourceQueryAuthRequest>msg - a SourceQueryDecoder.SourceQueryMessage objectprotected final Object decodePacket(io.netty.channel.ChannelHandlerContext ctx, T request, SourceQuerySinglePacket packet) throws Exception
decodePacket.
decodePacket in class SourceQueryDecoder<T extends SourceQueryAuthRequest>ctx - a ChannelHandlerContext objectrequest - a T objectpacket - a SourceQuerySinglePacket objectObject objectException - if any.protected abstract Object decodeQueryPacket(io.netty.channel.ChannelHandlerContext ctx, T request, SourceQuerySinglePacket msg) throws Exception
decodeQueryPacket.
ctx - a ChannelHandlerContext objectrequest - a T objectmsg - a SourceQuerySinglePacket objectObject objectException - if any.Copyright © 2016–2024. All rights reserved.