public abstract class JRadiusRequest extends JRadiusEvent
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>applicationContext| Constructor and Description |
|---|
JRadiusRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
addReplyAttribute(RadiusAttribute a)
Add an attribute to the reply by adding to the reply packet, if one,
or the configItems.
|
abstract AttributeList |
getConfigItems() |
abstract RadiusPacket[] |
getPackets() |
RadiusPacket |
getReplyPacket()
Convenience method, returns the Reply RadiusPacket of a
JRadiusRequest.
|
RadiusPacket |
getRequestPacket()
Convenience method, returns the Request RadiusPacket of a
JRadiusRequest.
|
abstract int |
getReturnValue() |
JRadiusSession |
getSession()
Get the RadiusSession assinged to this JRadiusRequest
|
String |
getSessionKey() |
boolean |
hasReplyPacket() |
boolean |
isAccountingRequest() |
void |
printDebugInfo() |
abstract void |
setConfigItems(AttributeList configItems) |
abstract void |
setPackets(RadiusPacket[] packets) |
void |
setReplyPacket(RadiusPacket np) |
abstract void |
setReturnValue(int returnValue) |
void |
setSession(JRadiusSession session)
Assign a RadiusSession to a JRadiusRequest
|
String |
toString() |
getApplicationContext, getListener, getSender, getType, getTypeString, setApplicationContext, setListener, setSenderclear, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll, sizeequals, hashCodefinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll, sizepublic abstract int getReturnValue()
public abstract void setReturnValue(int returnValue)
returnValue - The new return value to setpublic abstract AttributeList getConfigItems()
public abstract RadiusPacket[] getPackets()
public abstract void setConfigItems(AttributeList configItems)
configItems - The new "Configuration Items" to set in the RADIUS Serverpublic abstract void setPackets(RadiusPacket[] packets)
packets - The RadiusPacket array to return to the RADIUS Serverpublic JRadiusSession getSession()
public void setSession(JRadiusSession session)
session - The session to set.public String getSessionKey()
public RadiusPacket getRequestPacket() throws RadiusException
RadiusExceptionpublic RadiusPacket getReplyPacket() throws RadiusException
RadiusExceptionpublic void setReplyPacket(RadiusPacket np)
public boolean hasReplyPacket()
public boolean isAccountingRequest()
public void addReplyAttribute(RadiusAttribute a)
a - The RadiusAttributepublic void printDebugInfo()
public String toString()
toString in class AbstractMapCopyright © 2017. All rights reserved.