Interface ShClientActivity


  • public interface ShClientActivity
    Activity for a Diameter Sh client to send request messages and receive answer messages.

    The following messages can be fired as events:

    • UserDataAnswer
    • ProfileUpdateAnswer
    • SubscribeNotificationsAnswer

    These are stateless requests (the Diameter server does not maintain any state associated with these requests) so the activity ends when the answer event is fired.

    Author:
    Open Cloud
    • Method Detail

      • sendUserDataRequest

        void sendUserDataRequest​(UserDataRequest message)
                          throws SendException
        Send a User-Data-Request message asynchronously.
        Parameters:
        message - request message to send
        Throws:
        SendException - if the request message could not be sent
      • sendProfileUpdateRequest

        void sendProfileUpdateRequest​(ProfileUpdateRequest message)
                               throws SendException
        Send a Profile-Update-Request message asynchronously.
        Parameters:
        message - request message to send
        Throws:
        SendException - if the request message could not be sent
      • sendSubscribeNotificationsRequest

        void sendSubscribeNotificationsRequest​(SubscribeNotificationsRequest message)
                                        throws SendException
        Send a Subscribe-Notifications-Request message asynchronously.

        This method should be used to subscribe to notifications that will be received on an ShClientNotificationActivity that is created by the RA for each Push-Notification-Request.

        Parameters:
        message - request message to send
        Throws:
        SendException - if the request message could not be sent
      • endActivity

        void endActivity()
        End this activity. This does not cause any messages to be sent, it simply ends the activity in the SLEE.