public class ProtocolHandlerAdapter extends java.lang.Object implements ProtocolHandler, ru.bitel.common.worker.Destroyable
| Constructor and Description |
|---|
ProtocolHandlerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
init(Setup setup,
int moduleId,
InetDevice inetDevice,
InetDeviceType inetDeviceType,
ParameterMap deviceConfig) |
void |
postprocessAccessRequest(RadiusPacket request,
RadiusPacket response,
ConnectionSet connectionSet)
Постобработка RADIUS-запроса Access-Request
|
void |
postprocessAccountingRequest(RadiusPacket request,
RadiusPacket response,
ConnectionSet connectionSet)
Постобработка RADIUS-запроса Accounting-Request
|
void |
postprocessDhcpRequest(DhcpPacket request,
DhcpPacket response)
Постобработка DHCP-запроса
|
void |
preprocessAccessRequest(RadiusPacket request,
RadiusPacket response,
ConnectionSet connectionSet)
Предобработка RADIUS-запроса Access-Request
|
void |
preprocessAccountingRequest(RadiusPacket request,
RadiusPacket response,
ConnectionSet connectionSet)
Предобработка RADIUS-запроса Accounting-Request
|
void |
preprocessDhcpRequest(DhcpPacket request,
DhcpPacket response)
Предобработка DHCP-запроса
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitoverrideNasIdentifierpublic void init(Setup setup, int moduleId, InetDevice inetDevice, InetDeviceType inetDeviceType, ParameterMap deviceConfig) throws java.lang.Exception
init in interface ProtocolHandlerjava.lang.Exceptionpublic void destroy()
throws java.lang.Exception
destroy in interface ru.bitel.common.worker.Destroyablejava.lang.Exceptionpublic void postprocessAccessRequest(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) throws java.lang.Exception
RadiusProtocolHandlerpostprocessAccessRequest in interface RadiusProtocolHandlerjava.lang.Exceptionpublic void postprocessAccountingRequest(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) throws java.lang.Exception
RadiusProtocolHandlerpostprocessAccountingRequest in interface RadiusProtocolHandlerjava.lang.Exceptionpublic void preprocessAccessRequest(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) throws java.lang.Exception
RadiusProtocolHandlerpreprocessAccessRequest in interface RadiusProtocolHandlerjava.lang.Exceptionpublic void preprocessAccountingRequest(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) throws java.lang.Exception
RadiusProtocolHandlerpreprocessAccountingRequest in interface RadiusProtocolHandlerjava.lang.Exceptionpublic void preprocessDhcpRequest(DhcpPacket request, DhcpPacket response) throws java.lang.Exception
DhcpProtocolHandlerpreprocessDhcpRequest in interface DhcpProtocolHandlerjava.lang.Exceptionpublic void postprocessDhcpRequest(DhcpPacket request, DhcpPacket response) throws java.lang.Exception
DhcpProtocolHandlerpostprocessDhcpRequest in interface DhcpProtocolHandlerjava.lang.Exception