|
AXL RADIUS Server API V3 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectAccountingImpl
Abstract class for implementing accounting.
| Constructor Summary | |
AccountingImpl()
|
|
| Method Summary | |
abstract void |
accounting(AccountingInfo ai)
Called by the server to processing accounting requests. |
abstract void |
logs(LogImpl svrLog,
LogImpl dbgLog)
Connects the implementation to the server logs. |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AccountingImpl()
| Method Detail |
public abstract void accounting(AccountingInfo ai)
throws AccessRejectException,
AccessDropException
Upon the return of this method an Accounting-Response packet will be sent to the client.
If attributes are set using
setResponseAttributes().
they will be sent with the packet. In general no attributes are sent with an
Accounting-Response packet.
To avoid sending an Accounting-Response packet throw the AccessDropException.
ai - AccountingInfo object.
AccessRejectException - This should never be used unless the client is expecting an Access-Reject. This might be useful
for yet to be defined extended packet types arriving on the accounting port.
AccessDropException - if accounting fails and no response is to be sent.
The message in the exceptions will be sent to the server log as failures.
public abstract void logs(LogImpl svrLog,
LogImpl dbgLog)
svrLog - Server log classdbgLog - Debug log class
|
AXL RADIUS Server API V3 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||