Interface RoClientSessionActivity

  • All Superinterfaces:
    RoSessionActivity

    public interface RoClientSessionActivity
    extends RoSessionActivity

    An RoClientSessionActivity represents a charging control session for Credit Control clients.

    All requests for the session must be sent via the same RoClientSessionActivity.

    All responses related to the session will be received as events fired on the same RoClientSessionActivity.

    Author:
    Open Cloud
    • Method Detail

      • sendEventCreditControlRequest

        void sendEventCreditControlRequest​(CreditControlRequest ccr)
                                    throws SendException
        Send an event Credit-Control-Request. An event containing the answer will be fired on this activity.
        Parameters:
        ccr - the CreditControlRequest to send
        Throws:
        SendException
      • sendInitialCreditControlRequest

        void sendInitialCreditControlRequest​(CreditControlRequest ccr)
                                      throws SendException
        Send an initial Credit-Control-Request. An event containing the answer will be fired on this activity.
        Parameters:
        ccr - the CreditControlRequest to send
        Throws:
        SendException
      • sendUpdateCreditControlRequest

        void sendUpdateCreditControlRequest​(CreditControlRequest ccr)
                                     throws SendException
        Send an update (intermediate) Credit-Control-Request. An event containing the answer will be fired on this activity.
        Parameters:
        ccr - the CreditControlRequest to send
        Throws:
        SendException
      • sendTerminationCreditControlRequest

        void sendTerminationCreditControlRequest​(CreditControlRequest ccr)
                                          throws SendException
        Send a termination Credit-Control-Request. An event containing the answer will be fired on this activity. The activity will end when the event is fired.
        Parameters:
        ccr - the CreditControlRequest to send
        Throws:
        SendException
      • createReAuthAnswer

        ReAuthAnswer createReAuthAnswer()
        Create a Re-Auth-Answer message pre-populated with the AVPs appropriate for this session.
        Returns:
        a new ReAuthAnswer
      • createAbortSessionAnswer

        AbortSessionAnswer createAbortSessionAnswer()
        Create a Abort-Session-Answer message pre-populated with the AVPs appropriate for this session.
        Returns:
        a new AbortSessionAnswer