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, wait
overrideNasIdentifier
public void init(Setup setup, int moduleId, InetDevice inetDevice, InetDeviceType inetDeviceType, ParameterMap deviceConfig) throws java.lang.Exception
init
in interface ProtocolHandler
java.lang.Exception
public void destroy() throws java.lang.Exception
destroy
in interface ru.bitel.common.worker.Destroyable
java.lang.Exception
public void postprocessAccessRequest(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) throws java.lang.Exception
RadiusProtocolHandler
postprocessAccessRequest
in interface RadiusProtocolHandler
java.lang.Exception
public void postprocessAccountingRequest(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) throws java.lang.Exception
RadiusProtocolHandler
postprocessAccountingRequest
in interface RadiusProtocolHandler
java.lang.Exception
public void preprocessAccessRequest(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) throws java.lang.Exception
RadiusProtocolHandler
preprocessAccessRequest
in interface RadiusProtocolHandler
java.lang.Exception
public void preprocessAccountingRequest(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) throws java.lang.Exception
RadiusProtocolHandler
preprocessAccountingRequest
in interface RadiusProtocolHandler
java.lang.Exception
public void preprocessDhcpRequest(DhcpPacket request, DhcpPacket response) throws java.lang.Exception
DhcpProtocolHandler
preprocessDhcpRequest
in interface DhcpProtocolHandler
java.lang.Exception
public void postprocessDhcpRequest(DhcpPacket request, DhcpPacket response) throws java.lang.Exception
DhcpProtocolHandler
postprocessDhcpRequest
in interface DhcpProtocolHandler
java.lang.Exception