net.sf.jradius.freeradius
Class FreeRadiusProcessor

java.lang.Object
  extended by java.lang.Thread
      extended by net.sf.jradius.server.JRadiusThread
          extended by net.sf.jradius.server.Processor
              extended by net.sf.jradius.server.RadiusProcessor
                  extended by net.sf.jradius.freeradius.FreeRadiusProcessor
All Implemented Interfaces:
java.lang.Runnable

public class FreeRadiusProcessor
extends RadiusProcessor

FreeRADIUS Request Processor

Author:
Gert Jan Verhoog, David Bird

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
FreeRadiusProcessor()
           
 
Method Summary
protected  void logReturnCode(int result, JRCommand handler)
           
 JRadiusRequest parseRequest(java.io.InputStream inputStream)
           
protected  void processRequest(ListenerRequest listenerRequest)
           
 void writeResponse(JRadiusRequest request, java.io.OutputStream outputStream)
           
 
Methods inherited from class net.sf.jradius.server.RadiusProcessor
handleRadiusException, runPacketHandlers
 
Methods inherited from class net.sf.jradius.server.Processor
getEventDispatcher, getRequestHandlers, getRequestQueue, process, run, setEventDispatcher, setRequestHandlers, setRequestQueue
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FreeRadiusProcessor

public FreeRadiusProcessor()
Method Detail

processRequest

protected void processRequest(ListenerRequest listenerRequest)
                       throws java.io.IOException,
                              RadiusException
Specified by:
processRequest in class Processor
Throws:
java.io.IOException
RadiusException

parseRequest

public JRadiusRequest parseRequest(java.io.InputStream inputStream)
                            throws java.io.IOException,
                                   RadiusException
Throws:
java.io.IOException
RadiusException

writeResponse

public void writeResponse(JRadiusRequest request,
                          java.io.OutputStream outputStream)
                   throws java.io.IOException,
                          RadiusException
Throws:
java.io.IOException
RadiusException

logReturnCode

protected void logReturnCode(int result,
                             JRCommand handler)
Specified by:
logReturnCode in class RadiusProcessor


Copyright © 2006 The JRadius Project, All Rights Reserved.