public class InetRadiusListener extends RadiusListener<InetNas> implements ru.bitel.bgbilling.kernel.application.server.ExtendedLifecycle
RadiusListener.ModeaccountingStartCounter, accountingStopCounter, accountingUpdateCounter, accountingUpdateIgnoreCount, antispamIgnoreCount, authenticationAcceptCounter, authenticationIgnoreCount, authenticationRejectCounter, dataLogger, mode, processor, setup, threadCountParamName, threadQueueParamName| Constructor and Description |
|---|
InetRadiusListener(java.lang.String host,
int port,
int recvBufferSize,
int _recvBufferSize,
int socketRcvBufSize,
RadiusProcessor<?,InetNas,?> processor,
RadiusListener.Mode mode,
Setup setup,
ru.bitel.bgbilling.kernel.network.radius.datalog.hourly.RadiusHourlyDataLogger dataLogger,
int threadCount,
int maxQueueSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
init() |
ru.bitel.bgbilling.kernel.network.processor.ProcessorRequest<?> |
newRequest(java.net.SocketAddress clientAddress,
long millis,
java.nio.ByteBuffer data,
int overloadLevel) |
void |
onPacket(java.net.SocketAddress clientAddress,
java.nio.ByteBuffer data) |
void |
start() |
void |
stop() |
getActiveThreadCount, getCurrentThreadCount, getMaxQueueSize, getQueueSize, getSlow1QueueSize, getSlow2QueueSize, getTaskCount, getThreadCount, newThreadContext, setMaxQueueSize, setThreadCount, startListener, toString, toStringrun, select, send, sendResponse, shutdown@ConstructorProperties(value={"host","port","recvBufferSize","byteBufferCapacity","soRCVBUF","processor","mode","setup","dataLogger","threadCount","maxQueueSize"})
public InetRadiusListener(java.lang.String host,
int port,
int recvBufferSize,
int _recvBufferSize,
int socketRcvBufSize,
RadiusProcessor<?,InetNas,?> processor,
RadiusListener.Mode mode,
Setup setup,
ru.bitel.bgbilling.kernel.network.radius.datalog.hourly.RadiusHourlyDataLogger dataLogger,
int threadCount,
int maxQueueSize)
public ru.bitel.bgbilling.kernel.network.processor.ProcessorRequest<?> newRequest(java.net.SocketAddress clientAddress,
long millis,
java.nio.ByteBuffer data,
int overloadLevel)
newRequest in interface ru.bitel.bgbilling.kernel.network.processor.ProcessorListenernewRequest in class RadiusListener<InetNas>public void init()
init in interface ru.bitel.bgbilling.kernel.application.server.ExtendedLifecycleinit in class ru.bitel.common.io.DatagramChannelListenerpublic void start()
start in interface ru.bitel.bgbilling.kernel.application.server.Lifecyclepublic void stop()
throws java.lang.Exception
stop in interface ru.bitel.bgbilling.kernel.application.server.Lifecyclejava.lang.Exceptionpublic void destroy()
throws java.lang.Exception
destroy in interface ru.bitel.bgbilling.kernel.application.server.ExtendedLifecyclejava.lang.Exceptionpublic void onPacket(java.net.SocketAddress clientAddress,
java.nio.ByteBuffer data)
onPacket in class RadiusListener<InetNas>