|
AXL RADIUS Server API V3 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectNASCallBack
Abstract class for handling packets that don't have a valid NAS (Network Access Server) entry. This class is instantiated once and the methods are called asynchronously from the server
NASCallBackFactory| Constructor Summary | |
NASCallBack()
|
|
| Method Summary | |
abstract void |
logs(LogImpl svrLog,
LogImpl dbgLog)
Connects the implementation to the server logs. |
abstract NAS |
unknownNAS(NASInfo pktInfo)
Called when a packet arrives from an unknown NAS. |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NASCallBack()
| Method Detail |
public abstract void logs(LogImpl svrLog,
LogImpl dbgLog)
svrLog - Server log classdbgLog - Debug log classRADIUSServerpublic abstract NAS unknownNAS(NASInfo pktInfo)
It's possible to create a new NAS entry for the packet and allow the packet to be processed.
This method will not place the NAS entry in the server NAS table (RADIUSServer.addNAS(com.theorem.radserver3.NAS)).
To do this use NASInfo.addNAS(com.theorem.radserver3.NAS) to add a NAS entry to the RADIUSServer's list
otherwise the returned NAS object will only be used for the current packet.
If the returned NAS object is malformed the results are undefined.
The NAS information provided by PacketInfo.getNAS() is guaranteed to be bogus when this
method is called.
pktInfo - PacketInfo object containing information about the packet.
|
AXL RADIUS Server API V3 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||