Package org.tinyradius.io.server.handler
Class RequestHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<RequestCtx>
org.tinyradius.io.server.handler.RequestHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
public abstract class RequestHandler extends io.netty.channel.SimpleChannelInboundHandler<RequestCtx>
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description RequestHandler()
-
Method Summary
Modifier and Type Method Description protected abstract java.lang.Class<? extends RadiusRequest>
acceptedPacketType()
boolean
acceptInboundMessage(java.lang.Object msg)
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
-
Constructor Details
-
RequestHandler
public RequestHandler()
-
-
Method Details
-
acceptedPacketType
- Returns:
- RadiusRequest subclass type that this handler can accept
-
acceptInboundMessage
public boolean acceptInboundMessage(java.lang.Object msg) throws java.lang.Exception- Overrides:
acceptInboundMessage
in classio.netty.channel.SimpleChannelInboundHandler<RequestCtx>
- Throws:
java.lang.Exception
-