net.sf.jradius.freeradius
Class FreeRadiusRequest

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by org.apache.commons.chain.impl.ContextBase
              extended by net.sf.jradius.server.JRadiusEvent
                  extended by net.sf.jradius.server.JRadiusRequest
                      extended by net.sf.jradius.freeradius.FreeRadiusRequest
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map, org.apache.commons.chain.Context

public class FreeRadiusRequest
extends JRadiusRequest

A FreeRADIUS Server Request

Author:
David Bird
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
FreeRadiusRequest()
           
 
Method Summary
 AttributeList getConfigItems()
           
 RadiusPacket[] getPackets()
           
 int getReturnValue()
           
 int getType()
           
 java.lang.String getTypeString()
           
 void setConfigItems(AttributeList configItems)
          Set the "config_items" of the request (FreeRADIUS "control" attributes)
 void setPackets(RadiusPacket[] packets)
          Set the packet array of the request
 void setReturnValue(int returnValue)
           
 void setType(int type)
          Set the type of the request
 
Methods inherited from class net.sf.jradius.server.JRadiusRequest
addReplyAttribute, getReplyPacket, getRequestPacket, getSession, getSessionKey, hasReplyPacket, isAccountingRequest, printDebugInfo, setSession, toString
 
Methods inherited from class net.sf.jradius.server.JRadiusEvent
getSender, setSender
 
Methods inherited from class org.apache.commons.chain.impl.ContextBase
clear, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, values
 
Methods inherited from class java.util.HashMap
clone, containsKey, size
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, equals, hashCode, size
 

Constructor Detail

FreeRadiusRequest

public FreeRadiusRequest()
Method Detail

getConfigItems

public AttributeList getConfigItems()
Specified by:
getConfigItems in class JRadiusRequest
Returns:
the "config_items" of the request (FreeRADIUS "control" attributes)

getPackets

public RadiusPacket[] getPackets()
Specified by:
getPackets in class JRadiusRequest
Returns:
the request packet array

getType

public int getType()
Specified by:
getType in class JRadiusEvent
Returns:
the request type

getReturnValue

public int getReturnValue()
Specified by:
getReturnValue in class JRadiusRequest
Returns:
Returns the returnValue.

setConfigItems

public void setConfigItems(AttributeList configItems)
Set the "config_items" of the request (FreeRADIUS "control" attributes)

Specified by:
setConfigItems in class JRadiusRequest
Parameters:
configItems -

setPackets

public void setPackets(RadiusPacket[] packets)
Set the packet array of the request

Specified by:
setPackets in class JRadiusRequest
Parameters:
packets -

setType

public void setType(int type)
Set the type of the request

Parameters:
type -

setReturnValue

public void setReturnValue(int returnValue)
Specified by:
setReturnValue in class JRadiusRequest
Parameters:
returnValue - The returnValue to set.

getTypeString

public java.lang.String getTypeString()
Specified by:
getTypeString in class JRadiusEvent
Returns:
Returns the type of the JRadiusRequest


Copyright © 2006 The JRadius Project, All Rights Reserved.