Interface SubscribeNotificationRequest

All Superinterfaces:
PolicyRequest, Request<Policy>, Serializable, TemporalObject
All Known Subinterfaces:
PolicySessionRequest

public interface SubscribeNotificationRequest extends PolicyRequest
Class representing policy Sp request .

SubscribeNotificationRequest also known as SPR request is used to determine the value for specified set of preferences invalid input: '&' to subscribe for notification when preference value changes .

In order to just get the preference values without subscription, UserDataRequest API can be used

Implementation of Subscribe-Notifications-Request as specified in 3GPP TS 29.329
Diameter command Code : 308

  • Method Details

    • getPreferences

      Collection<String> getPreferences()
      Fetches a collection of preference to subscribed/un-subscribed.
    • Eg language,channel

      Diameter AVP Name : Data-Reference

    • Returns:
      Preferences to be subscribed/un-subscribed
    • getExpiryDateTime

      ZonedDateTime getExpiryDateTime()
      Fetches the expiry time.
    • This is the time, after which the subscription will expire
    • Eg. 2012-01-01T00:00:00

      Diameter AVP Name : Expiry-Time

    • Returns:
      expiry time
    • getDataReferences

      Collection<Integer> getDataReferences()
      Fetches a list of data references configured in ECE. Will return null if no data references are specified
      Returns:
      a list of data references configured in ECE
    • isUserDataRequested

      boolean isUserDataRequested()
      Indicates whether response should contain user data

      Diameter AVP Name : Send-Data-Indication

      Returns:
      true if response should contain user data, false otherwise