public interface SubscribeNotificationRequest extends PolicyRequest
SubscribeNotificationRequest also known as SPR request is used to determine the value for specified set of preferences & 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
Modifier and Type | Interface and Description |
---|---|
static class |
SubscribeNotificationRequest.RequestType
Request type indicating the type of subscription for subscriber preference change notification
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.Integer> |
getDataReferences()
Fetches a list of data references configured in ECE.
|
java.time.ZonedDateTime |
getExpiryDateTime()
Fetches the expiry time.
|
java.util.Collection<java.lang.String> |
getPreferences()
Fetches a collection of preference to subscribed/un-subscribed.
|
boolean |
isUserDataRequested()
Indicates whether response should contain user data
|
getProductType, getRequestDateTime, getRequestType, getSessionId, getTraced, getUserIdentity, setTraced
getOperation, getPayload
java.util.Collection<java.lang.String> getPreferences()
Diameter AVP Name : Data-Reference
java.time.ZonedDateTime getExpiryDateTime()
Diameter AVP Name : Expiry-Time
java.util.Collection<java.lang.Integer> getDataReferences()
boolean isUserDataRequested()
Diameter AVP Name : Send-Data-Indication