net.jradius.handler.dhcp
Class DHCPPoolHandler

java.lang.Object
  extended by net.jradius.handler.EventHandlerBase
      extended by net.jradius.handler.EventHandlerChain
          extended by net.jradius.handler.PacketHandlerChain
              extended by net.jradius.handler.dhcp.DHCPPoolHandler
All Implemented Interfaces:
net.jradius.handler.chain.JRCommand, net.jradius.handler.EventHandler, net.jradius.handler.PacketHandler, org.apache.commons.chain.Command

public class DHCPPoolHandler
extends net.jradius.handler.PacketHandlerChain

Simple DHCP IP Pool Handler for FreeRADIUS.

Author:
David Bird

Field Summary
 
Fields inherited from class net.jradius.handler.EventHandlerBase
config
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
DHCPPoolHandler()
           
 
Method Summary
 boolean handle(net.jradius.server.JRadiusRequest request)
           
 boolean handle(net.jradius.server.JRadiusRequest request, byte[] hwAddress, AddressPool pool)
           
 
Methods inherited from class net.jradius.handler.PacketHandlerChain
handle
 
Methods inherited from class net.jradius.handler.EventHandlerChain
execute, execute, getCatalog, getCatalogName, getOnFalse, getOnTrue, setCatalogName, setConfig, setOnFalse, setOnTrue
 
Methods inherited from class net.jradius.handler.EventHandlerBase
doesHandle, execute, getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.jradius.handler.EventHandler
setName
 
Methods inherited from interface net.jradius.handler.chain.JRCommand
doesHandle, getName, setConfig
 
Methods inherited from interface org.apache.commons.chain.Command
execute
 

Constructor Detail

DHCPPoolHandler

public DHCPPoolHandler()
Method Detail

handle

public boolean handle(net.jradius.server.JRadiusRequest request)
               throws java.lang.Exception
Specified by:
handle in interface net.jradius.handler.PacketHandler
Overrides:
handle in class net.jradius.handler.PacketHandlerChain
Throws:
java.lang.Exception

handle

public boolean handle(net.jradius.server.JRadiusRequest request,
                      byte[] hwAddress,
                      AddressPool pool)
               throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2008 JRadius Project, All Rights Reserved.