Class ProtocolHandlerAdapter
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.apps.inet.access.sa.ProtocolHandlerAdapter
- All Implemented Interfaces:
ProtocolHandler
,DhcpProtocolHandler
,RadiusProtocolHandler
,ru.bitel.common.worker.Destroyable
public class ProtocolHandlerAdapter
extends ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
implements ProtocolHandler, ru.bitel.common.worker.Destroyable
Адаптер для интерфейса ProtocolHandler. Все методы данного класса пусты.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
init
(Setup setup, int moduleId, InetDevice inetDevice, InetDeviceType inetDeviceType, ParameterMap deviceConfig) void
postprocessAccessRequest
(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) Постобработка RADIUS-запроса Access-Requestvoid
postprocessAccountingRequest
(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) Постобработка RADIUS-запроса Accounting-Requestvoid
postprocessDhcpRequest
(DhcpPacket request, DhcpPacket response) Постобработка DHCP-запросаvoid
preprocessAccessRequest
(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) Предобработка RADIUS-запроса Access-Requestvoid
preprocessAccountingRequest
(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) Предобработка RADIUS-запроса Accounting-Requestvoid
preprocessDhcpRequest
(DhcpPacket request, DhcpPacket response) Предобработка DHCP-запросаMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ru.bitel.bgbilling.apps.inet.access.sa.ProtocolHandler
configParameterList
Methods inherited from interface ru.bitel.bgbilling.kernel.network.radius.RadiusProtocolHandler
overrideNasIdentifier
-
Constructor Details
-
ProtocolHandlerAdapter
public ProtocolHandlerAdapter()
-
-
Method Details
-
init
public void init(Setup setup, int moduleId, InetDevice inetDevice, InetDeviceType inetDeviceType, ParameterMap deviceConfig) throws Exception - Specified by:
init
in interfaceProtocolHandler
- Throws:
Exception
-
destroy
- Specified by:
destroy
in interfaceru.bitel.common.worker.Destroyable
- Throws:
Exception
-
postprocessAccessRequest
public void postprocessAccessRequest(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) throws Exception Description copied from interface:RadiusProtocolHandler
Постобработка RADIUS-запроса Access-Request- Specified by:
postprocessAccessRequest
in interfaceRadiusProtocolHandler
- Throws:
Exception
-
postprocessAccountingRequest
public void postprocessAccountingRequest(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) throws Exception Description copied from interface:RadiusProtocolHandler
Постобработка RADIUS-запроса Accounting-Request- Specified by:
postprocessAccountingRequest
in interfaceRadiusProtocolHandler
- Throws:
Exception
-
preprocessAccessRequest
public void preprocessAccessRequest(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) throws Exception Description copied from interface:RadiusProtocolHandler
Предобработка RADIUS-запроса Access-Request- Specified by:
preprocessAccessRequest
in interfaceRadiusProtocolHandler
- Throws:
Exception
-
preprocessAccountingRequest
public void preprocessAccountingRequest(RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet) throws Exception Description copied from interface:RadiusProtocolHandler
Предобработка RADIUS-запроса Accounting-Request- Specified by:
preprocessAccountingRequest
in interfaceRadiusProtocolHandler
- Throws:
Exception
-
preprocessDhcpRequest
Description copied from interface:DhcpProtocolHandler
Предобработка DHCP-запроса- Specified by:
preprocessDhcpRequest
in interfaceDhcpProtocolHandler
- Throws:
Exception
-
postprocessDhcpRequest
Description copied from interface:DhcpProtocolHandler
Постобработка DHCP-запроса- Specified by:
postprocessDhcpRequest
in interfaceDhcpProtocolHandler
- Throws:
Exception
-