Interface GxServerSessionActivity

  • All Superinterfaces:
    GxSessionActivity

    public interface GxServerSessionActivity
    extends GxSessionActivity
    A GxServerSessionActivity represents a charging control session for Credit Control servers.

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

    Author:
    Open Cloud
    • Method Detail

      • createGxCreditControlAnswer

        CreditControlAnswer createGxCreditControlAnswer()
        Create a Credit-Control-Answer message pre-populated with the AVPs appropriate for this session.
        Returns:
        a new CreditControlAnswer
      • sendCreditControlAnswer

        void sendCreditControlAnswer​(CreditControlAnswer cca)
                              throws SendException
        Send a Credit-Control-Answer message to the CC client.
        Parameters:
        cca - the CreditControlAnswer to send
        Throws:
        SendException
      • createGxReAuthRequest

        ReAuthRequest createGxReAuthRequest()
        Create a ReAuthRequest message pre-populated with the AVPs appropriate for this session.
        Returns:
        a new ReAuthRequest
      • sendReAuthRequest

        void sendReAuthRequest​(ReAuthRequest rar)
                        throws SendException
        Send a Re-Auth-Request message to the CC client.
        Parameters:
        rar - the ReAuthRequest to send
        Throws:
        SendException
      • getSessionId

        String getSessionId()
        Returns the session ID of the credit control session, which uniquely identifies the session.