net.sf.jradius.freeradius
Class FreeRadiusRequest
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.apache.commons.chain.impl.ContextBase
net.sf.jradius.server.JRadiusEvent
net.sf.jradius.server.JRadiusRequest
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 classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
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 |
FreeRadiusRequest
public FreeRadiusRequest()
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.