Interface SubscribeNotificationRequest
- All Superinterfaces:
PolicyRequest
,Request<Policy>
,Serializable
,TemporalObject
- All Known Subinterfaces:
PolicySessionRequest
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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Request type indicating the type of subscription for subscriber preference change notification -
Method Summary
Modifier and TypeMethodDescriptionFetches a list of data references configured in ECE.Fetches the expiry time.Fetches a collection of preference to subscribed/un-subscribed.boolean
Indicates whether response should contain user dataMethods inherited from interface oracle.communication.brm.charging.messages.policy.PolicyRequest
getProductType, getRequestDateTime, getRequestType, getSessionId, getTraced, getUserIdentity, setProductType, setRequestDateTime, setTraced
Methods inherited from interface oracle.communication.brm.charging.messages.framework.Request
getOperation, getPayload, getStatus
Methods inherited from interface oracle.communication.brm.charging.messages.framework.TemporalObject
getCreationInstant
-
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
- Eg language,channel
-
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 dataDiameter AVP Name : Send-Data-Indication
- Returns:
- true if response should contain user data, false otherwise
-