|
AXL RADIUS Server API V3 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectProxyImpl
Abstract class for implementing proxy server routing changes on the fly based on the packet attributes. This class also allows changing attributes on returning response packets as well.
ProxyImplFactory has an example of a simple routing change.
ProxyImplFactory,
setProxyStateObject(),
getProxyStateObject()| Constructor Summary | |
ProxyImpl()
|
|
| Method Summary | |
abstract void |
changeRequest(ProxyInfo pi)
Alter routing on an inbound packet by changing proxy information. |
abstract void |
changeResponse(ProxyInfo pi)
Alter response packets. |
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 ProxyImpl()
| Method Detail |
public abstract void changeRequest(ProxyInfo pi)
throws AccessDropException,
AccessRejectException
Proxy routing alterations are made to the User-Name attribute. This only affects Access-Request and Accounting-Request packets. Responses will be automatically routed back to their destinations. It's possible to change a routed packet to a local packet as well.
pi - ProxyInfo object.
AccessDropException - to drop a packet.
AccessRejectException - to reject a packet.
public abstract void changeResponse(ProxyInfo pi)
throws AccessDropException,
AccessRejectException
pi - ProxyInfo object.
AccessDropException - to drop a packet.
AccessRejectException - to reject a packet.
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 | |||||||