Interface AccountingServerSessionActivity

  • All Superinterfaces:
    AccountingSessionActivity

    public interface AccountingServerSessionActivity
    extends AccountingSessionActivity
    An AccountingServerSessionActivity represents an accounting session for Diameter accounting clients.

    A single AccountingServerSessionActivity will be created for the Diameter session. All requests received for the session will be fired as events on the same AccountingServerSessionActivity.

    Author:
    OpenCloud
    • Method Detail

      • createAccountingAnswer

        AccountingAnswer createAccountingAnswer()
        Create an Accounting-Answer with the Acct-Application-Id set to 3.
        Returns:
        an Accounting-Answer
      • createAccountingAnswer

        AccountingAnswer createAccountingAnswer​(AccountingRequest acr)
        Create an Accounting-Answer with some AVPs populated from the provided Accounting-Request.

        The ACR will contain the AVPs specified in createAccountingAnswer() and the following AVPs from the Accounting-Request:

        • Accounting-Record-Type
        • Accounting-Record-Number
        Parameters:
        acr - Accounting-Request to copy AVPs from
        Returns:
        an Accounting-Answer