src/main/java/org/tinyradius/util/RadiusServer.java
public RadiusPacket accountingRequestReceived(AccountingRequest accountingRequest, InetSocketAddress client)
        throws RadiusException {
        RadiusPacket answer = new RadiusPacket(RadiusPacket.ACCOUNTING_RESPONSE, accountingRequest.getPacketIdentifier());
        copyProxyState(accountingRequest, answer);
        return answer;
    }
/**
     * Constructs an answer for an Accounting-Request packet. This method
     * should be overriden if accounting is supported.
     *
     * @param accountingRequest Radius request packet
     * @param client            address of Radius client
     * @return response packet or null if no packet shall be sent
     * @throws RadiusException malformed request packet; if this
     *                         exception is thrown, no answer will be sent
     */
Constructs an answer for an Accounting-Request packet. This method
should be overriden if accounting is supported.

@param accountingRequest Radius request packet
@param client            address of Radius client
@return response packet or null if no packet shall be sent
@throws RadiusException malformed request packet; if this
exception is thrown, no answer will be sent
Constructs an answer for an Accounting - Request packet . This method should be overriden if accounting is supported . @param accountingRequest Radius request packet @param client address of Radius client @return response packet or null if no packet shall be sent @throws RadiusException malformed request packet ; if this exception is thrown no answer will be sent
public RadiusPacket accountingRequestReceived(AccountingRequest accountingRequest, InetSocketAddress client)
        throws RadiusException {
        RadiusPacket answer = new RadiusPacket(RadiusPacket.ACCOUNTING_RESPONSE, accountingRequest.getPacketIdentifier());
        copyProxyState(accountingRequest, answer);
        return answer;
    }
public RadiusPacket accountingRequestReceived ( AccountingRequest accountingRequest , InetSocketAddress client ) throws RadiusException { RadiusPacket answer = new RadiusPacket ( RadiusPacket . ACCOUNTING_RESPONSE , accountingRequest . getPacketIdentifier ( ) ) ; copyProxyState ( accountingRequest , answer ) ; return answer ; }
Constructs an answer for an Accounting-Request packet.
Constructs an answer for an Accounting - Request packet .