net.jradius.handler
Interface PacketHandler

All Superinterfaces:
org.apache.commons.chain.Command, EventHandler, JRCommand
All Known Implementing Classes:
PacketHandlerChain

public interface PacketHandler
extends EventHandler

The base abstract class of all Packet Handlers

Author:
David Bird, Gert Jan Verhoog

Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Method Summary
 boolean handle(JRadiusRequest request)
          Derived classes must implement the handle method
 
Methods inherited from interface net.jradius.handler.EventHandler
handle, setName
 
Methods inherited from interface net.jradius.handler.chain.JRCommand
doesHandle, getName, setConfig
 
Methods inherited from interface org.apache.commons.chain.Command
execute
 

Method Detail

handle

boolean handle(JRadiusRequest request)
               throws java.lang.Exception
Derived classes must implement the handle method

Parameters:
request - The JRadiusRequest being processed
Returns:
Returns true of the command is handled (i.e. break the chain)
Throws:
java.lang.Exception


Copyright © 2008 JRadius Project, All Rights Reserved.