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

    Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • 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.SimpleChannelInboundHandler

    channelRead, channelRead0

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.netty.channel.ChannelHandler

    handlerAdded, handlerRemoved
  • Constructor Details

  • Method Details

    • acceptedPacketType

      protected abstract java.lang.Class<? extends RadiusRequest> 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 class io.netty.channel.SimpleChannelInboundHandler<RequestCtx>
      Throws:
      java.lang.Exception