public abstract class DhcpProcessor<D extends Idable>
extends ru.bitel.bgbilling.kernel.network.processor.Processor
Modifier and Type | Field and Description |
---|---|
protected int |
mid |
protected java.lang.String |
module |
int |
sendFix |
Constructor and Description |
---|
DhcpProcessor(Setup setup,
java.lang.String module,
int mid) |
Modifier and Type | Method and Description |
---|---|
abstract void |
processRequest(DhcpListenerWorker<D> req,
java.net.SocketAddress clientAddress,
DhcpPacket request) |
void |
writeLog(DhcpListenerWorker<D> req,
int[] requestPositions,
int[] responsePositions,
long now) |
protected final java.lang.String module
protected final int mid
public final int sendFix
public DhcpProcessor(Setup setup, java.lang.String module, int mid)
public abstract void processRequest(DhcpListenerWorker<D> req, java.net.SocketAddress clientAddress, DhcpPacket request) throws java.lang.Exception
java.lang.Exception
public void writeLog(DhcpListenerWorker<D> req, int[] requestPositions, int[] responsePositions, long now) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException