public interface MmtelInformation extends GroupedAvp
7.2.88 A MMTel-Information AVP The MMTel-Information AVP (AVP code 2030) is of type Grouped. Its purpose is to allow the transmission of additional MMtel service specific information elements. It holds MMTel supplementary services invoked during MMTel service. It has the following ABNF grammar: MMTel-Information ::= < AVP Header: 2030> * [ Supplementary-Service] [ Subscriber-Role ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
SubscriberRole |
getSubscriberRole()
Returns the value of the Subscriber-Role AVP, of type Enumerated.
|
SupplementaryService[] |
getSupplementaryServices()
Returns the set of Supplementary-Service AVPs.
|
boolean |
hasSubscriberRole()
Returns true if the Subscriber-Role AVP is present in the MMTel-Information AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the MMTel-Information AVP.
|
void |
removeSubscriberRole()
Removes the Subscriber-Role AVP from the MMTel-Information AVP.
|
void |
removeSupplementaryServices()
Removes all Supplementary-Service AVPs from the MMTel-Information AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setSubscriberRole(SubscriberRole subscriberRole)
Sets the value of the Subscriber-Role AVP, of type Enumerated.
|
void |
setSupplementaryService(SupplementaryService supplementaryService)
Sets a single Supplementary-Service AVP in the MMTel-Information AVP, of type Grouped.
|
void |
setSupplementaryServices(SupplementaryService[] supplementaryServices)
Sets the set of Supplementary-Service AVPs, with all the values in the given array.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
SupplementaryService[] getSupplementaryServices()
void setSupplementaryService(SupplementaryService supplementaryService)
java.lang.NullPointerException
- if supplementaryService
is null
.void setSupplementaryServices(SupplementaryService[] supplementaryServices)
java.lang.NullPointerException
- if supplementaryServices
is null
.void removeSupplementaryServices()
boolean hasSubscriberRole()
SubscriberRole getSubscriberRole()
void setSubscriberRole(SubscriberRole subscriberRole)
java.lang.NullPointerException
- if subscriberRole
is null
.void removeSubscriberRole()
DiameterAvp[] getExtensionAvps()
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
AvpNotAllowedException
- if an AVP is encountered of a type already known to this class
(i.e. an AVP for which get/set methods already appear in this class)java.lang.NullPointerException
- if avps
is null
.void removeExtensionAvps()