Package org.dcache.xrootd.core
Class AbstractXrootdDecoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.codec.ByteToMessageDecoder
-
- org.dcache.xrootd.core.AbstractXrootdDecoder
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
- Direct Known Subclasses:
XrootdDecoder,XrootdSigverDecoder
public abstract class AbstractXrootdDecoder extends io.netty.handler.codec.ByteToMessageDecoderBase class for frame decoders. TODO: Implement zero-copy handling of write requests by splitting the request into fragments.
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.LoggerLOGGER
-
Constructor Summary
Constructors Constructor Description AbstractXrootdDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected XrootdRequestgetRequest(io.netty.buffer.ByteBuf frame)protected intverifyMessageLength(io.netty.buffer.ByteBuf in)-
Methods inherited from class io.netty.handler.codec.ByteToMessageDecoder
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decode, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, isSharable
-
-
-
-
Method Detail
-
getRequest
protected XrootdRequest getRequest(io.netty.buffer.ByteBuf frame)
-
verifyMessageLength
protected int verifyMessageLength(io.netty.buffer.ByteBuf in)
-
-