Interface MmsInformation
-
- All Superinterfaces:
Cloneable,DiameterAvp,GroupedAvp
public interface MmsInformation extends GroupedAvp
Defines an interface representing the MMS-Information grouped AVP type. From the Diameter Ro Reference Point Protocol Details (3GPP TS 32.299 V7.9.0) specification:7.2.68 MMS-Information AVP The MMS-Information AVP (AVP code 877) is of type Grouped. Its purpose is to allow the transmission of additional MMS service specific information elements. It has the following ABNF grammar: (Note: the *[ AVP ] is not part of 3GPP TS 32.299, it was added to allow for more flexibility for extensions to Diameter Ro.) MMS-Information ::= < AVP Header: 877> [ Originator-Address ] * [ Recipient-Address ] [ Submission-Time ] [ MM-Content-Type ] [ Priority ] [ Message-ID ] [ Message-Type ] [ Message-Size ] [ Message-Class ] [ Delivery-Report-Requested ] [ Read-Reply-Report-Requested ] [ MMBox-Storage-Requested ] [ Applic-ID ] [ Reply-Applic-ID ] [ Aux-Applic-Info ] [ Content-Class ] [ DRM-Content ] [ Adaptations ] [ VASP-Id ] [ VAS-Id ] *[ AVP ]
-
-
Field Summary
-
Fields inherited from interface org.jainslee.resources.diameter.base.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdaptationsgetAdaptations()Returns the value of the Adaptations AVP, of type Enumerated.StringgetApplicId()Returns the value of the Applic-ID AVP, of type UTF8String.StringgetAuxApplicInfo()Returns the value of the Aux-Applic-Info AVP, of type UTF8String.ContentClassgetContentClass()Returns the value of the Content-Class AVP, of type Enumerated.DeliveryReportRequestedgetDeliveryReportRequested()Returns the value of the Delivery-Report-Requested AVP, of type Enumerated.DrmContentgetDrmContent()Returns the value of the DRM-Content AVP, of type Enumerated.DiameterAvp[]getExtensionAvps()Returns the set of extension AVPs.MessageClassgetMessageClass()Returns the value of the Message-Class AVP, of type Grouped.StringgetMessageId()Returns the value of the Message-ID AVP, of type UTF8String.longgetMessageSize()Returns the value of the Message-Size AVP, of type Unsigned32.MessageTypegetMessageType()Returns the value of the Message-Type AVP, of type Enumerated.MmboxStorageRequestedgetMmboxStorageRequested()Returns the value of the MMBox-Storage-Requested AVP, of type Enumerated.MmContentTypegetMmContentType()Returns the value of the MM-Content-Type AVP, of type Grouped.OriginatorAddressgetOriginatorAddress()Returns the value of the Originator-Address AVP, of type Grouped.PrioritygetPriority()Returns the value of the Priority AVP, of type Enumerated.ReadReplyReportRequestedgetReadReplyReportRequested()Returns the value of the Read-Reply-Report-Requested AVP, of type Enumerated.RecipientAddress[]getRecipientAddresses()Returns the set of Recipient-Address AVPs.StringgetReplyApplicId()Returns the value of the Reply-Applic-ID AVP, of type UTF8String.DategetSubmissionTime()Returns the value of the Submission-Time AVP, of type Time.StringgetVasId()Returns the value of the VAS-Id AVP, of type UTF8String.StringgetVaspId()Returns the value of the VASP-Id AVP, of type UTF8String.booleanhasAdaptations()Returns true if the Adaptations AVP is present in the MMS-Information AVP.booleanhasApplicId()Returns true if the Applic-ID AVP is present in the MMS-Information AVP.booleanhasAuxApplicInfo()Returns true if the Aux-Applic-Info AVP is present in the MMS-Information AVP.booleanhasContentClass()Returns true if the Content-Class AVP is present in the MMS-Information AVP.booleanhasDeliveryReportRequested()Returns true if the Delivery-Report-Requested AVP is present in the MMS-Information AVP.booleanhasDrmContent()Returns true if the DRM-Content AVP is present in the MMS-Information AVP.booleanhasMessageClass()Returns true if the Message-Class AVP is present in the MMS-Information AVP.booleanhasMessageId()Returns true if the Message-ID AVP is present in the MMS-Information AVP.booleanhasMessageSize()Returns true if the Message-Size AVP is present in the MMS-Information AVP.booleanhasMessageType()Returns true if the Message-Type AVP is present in the MMS-Information AVP.booleanhasMmboxStorageRequested()Returns true if the MMBox-Storage-Requested AVP is present in the MMS-Information AVP.booleanhasMmContentType()Returns true if the MM-Content-Type AVP is present in the MMS-Information AVP.booleanhasOriginatorAddress()Returns true if the Originator-Address AVP is present in the MMS-Information AVP.booleanhasPriority()Returns true if the Priority AVP is present in the MMS-Information AVP.booleanhasReadReplyReportRequested()Returns true if the Read-Reply-Report-Requested AVP is present in the MMS-Information AVP.booleanhasReplyApplicId()Returns true if the Reply-Applic-ID AVP is present in the MMS-Information AVP.booleanhasSubmissionTime()Returns true if the Submission-Time AVP is present in the MMS-Information AVP.booleanhasVasId()Returns true if the VAS-Id AVP is present in the MMS-Information AVP.booleanhasVaspId()Returns true if the VASP-Id AVP is present in the MMS-Information AVP.voidremoveAdaptations()Removes the Adaptations AVP from the MMS-Information AVP.voidremoveApplicId()Removes the Applic-ID AVP from the MMS-Information AVP.voidremoveAuxApplicInfo()Removes the Aux-Applic-Info AVP from the MMS-Information AVP.voidremoveContentClass()Removes the Content-Class AVP from the MMS-Information AVP.voidremoveDeliveryReportRequested()Removes the Delivery-Report-Requested AVP from the MMS-Information AVP.voidremoveDrmContent()Removes the DRM-Content AVP from the MMS-Information AVP.voidremoveExtensionAvps()Removes all extension AVPs from the MMS-Information AVP.voidremoveMessageClass()Removes the Message-Class AVP from the MMS-Information AVP.voidremoveMessageId()Removes the Message-ID AVP from the MMS-Information AVP.voidremoveMessageSize()Removes the Message-Size AVP from the MMS-Information AVP.voidremoveMessageType()Removes the Message-Type AVP from the MMS-Information AVP.voidremoveMmboxStorageRequested()Removes the MMBox-Storage-Requested AVP from the MMS-Information AVP.voidremoveMmContentType()Removes the MM-Content-Type AVP from the MMS-Information AVP.voidremoveOriginatorAddress()Removes the Originator-Address AVP from the MMS-Information AVP.voidremovePriority()Removes the Priority AVP from the MMS-Information AVP.voidremoveReadReplyReportRequested()Removes the Read-Reply-Report-Requested AVP from the MMS-Information AVP.voidremoveRecipientAddresses()Removes all Recipient-Address AVPs from the MMS-Information AVP.voidremoveReplyApplicId()Removes the Reply-Applic-ID AVP from the MMS-Information AVP.voidremoveSubmissionTime()Removes the Submission-Time AVP from the MMS-Information AVP.voidremoveVasId()Removes the VAS-Id AVP from the MMS-Information AVP.voidremoveVaspId()Removes the VASP-Id AVP from the MMS-Information AVP.voidsetAdaptations(Adaptations adaptations)Sets the value of the Adaptations AVP, of type Enumerated.voidsetApplicId(String applicId)Sets the value of the Applic-ID AVP, of type UTF8String.voidsetAuxApplicInfo(String auxApplicInfo)Sets the value of the Aux-Applic-Info AVP, of type UTF8String.voidsetContentClass(ContentClass contentClass)Sets the value of the Content-Class AVP, of type Enumerated.voidsetDeliveryReportRequested(DeliveryReportRequested deliveryReportRequested)Sets the value of the Delivery-Report-Requested AVP, of type Enumerated.voidsetDrmContent(DrmContent drmContent)Sets the value of the DRM-Content AVP, of type Enumerated.voidsetExtensionAvps(DiameterAvp[] avps)Sets the set of extension AVPs with all the values in the given array.voidsetMessageClass(MessageClass messageClass)Sets the value of the Message-Class AVP, of type Grouped.voidsetMessageId(String messageId)Sets the value of the Message-ID AVP, of type UTF8String.voidsetMessageSize(long messageSize)Sets the value of the Message-Size AVP, of type Unsigned32.voidsetMessageType(MessageType messageType)Sets the value of the Message-Type AVP, of type Enumerated.voidsetMmboxStorageRequested(MmboxStorageRequested mmboxStorageRequested)Sets the value of the MMBox-Storage-Requested AVP, of type Enumerated.voidsetMmContentType(MmContentType mmContentType)Sets the value of the MM-Content-Type AVP, of type Grouped.voidsetOriginatorAddress(OriginatorAddress originatorAddress)Sets the value of the Originator-Address AVP, of type Grouped.voidsetPriority(Priority priority)Sets the value of the Priority AVP, of type Enumerated.voidsetReadReplyReportRequested(ReadReplyReportRequested readReplyReportRequested)Sets the value of the Read-Reply-Report-Requested AVP, of type Enumerated.voidsetRecipientAddress(RecipientAddress recipientAddress)Sets a single Recipient-Address AVP in the MMS-Information AVP, of type Grouped.voidsetRecipientAddresses(RecipientAddress[] recipientAddresses)Sets the set of Recipient-Address AVPs, with all the values in the given array.voidsetReplyApplicId(String replyApplicId)Sets the value of the Reply-Applic-ID AVP, of type UTF8String.voidsetSubmissionTime(Date submissionTime)Sets the value of the Submission-Time AVP, of type Time.voidsetVasId(String vasId)Sets the value of the VAS-Id AVP, of type UTF8String.voidsetVaspId(String vaspId)Sets the value of the VASP-Id AVP, of type UTF8String.-
Methods inherited from interface org.jainslee.resources.diameter.base.DiameterAvp
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
-
-
-
-
Method Detail
-
hasOriginatorAddress
boolean hasOriginatorAddress()
Returns true if the Originator-Address AVP is present in the MMS-Information AVP.
-
getOriginatorAddress
OriginatorAddress getOriginatorAddress()
Returns the value of the Originator-Address AVP, of type Grouped.- Returns:
- the value of the Originator-Address AVP, or null if it has not been set.
-
setOriginatorAddress
void setOriginatorAddress(OriginatorAddress originatorAddress)
Sets the value of the Originator-Address AVP, of type Grouped.- Throws:
NullPointerException- iforiginatorAddressisnull.
-
removeOriginatorAddress
void removeOriginatorAddress()
Removes the Originator-Address AVP from the MMS-Information AVP. If the Originator-Address AVP is not present, this method returns silently.
-
getRecipientAddresses
RecipientAddress[] getRecipientAddresses()
Returns the set of Recipient-Address AVPs. The returned array contains the AVPs in the order they appear in the MMS-Information AVP. A return value of null implies that no Recipient-Address AVPs have been set. The elements in the given array are RecipientAddress objects.
-
setRecipientAddress
void setRecipientAddress(RecipientAddress recipientAddress)
Sets a single Recipient-Address AVP in the MMS-Information AVP, of type Grouped.- Throws:
NullPointerException- ifrecipientAddressisnull.
-
setRecipientAddresses
void setRecipientAddresses(RecipientAddress[] recipientAddresses)
Sets the set of Recipient-Address AVPs, with all the values in the given array. The AVPs will be added to the MMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getRecipientAddresses() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException- ifrecipientAddressesisnull.
-
removeRecipientAddresses
void removeRecipientAddresses()
Removes all Recipient-Address AVPs from the MMS-Information AVP. If no Recipient-Address AVPs are present, this method returns silently.
-
hasSubmissionTime
boolean hasSubmissionTime()
Returns true if the Submission-Time AVP is present in the MMS-Information AVP.
-
getSubmissionTime
Date getSubmissionTime()
Returns the value of the Submission-Time AVP, of type Time.- Returns:
- the value of the Submission-Time AVP, or null if it has not been set.
-
setSubmissionTime
void setSubmissionTime(Date submissionTime)
Sets the value of the Submission-Time AVP, of type Time.- Throws:
NullPointerException- ifsubmissionTimeisnull.
-
removeSubmissionTime
void removeSubmissionTime()
Removes the Submission-Time AVP from the MMS-Information AVP. If the Submission-Time AVP is not present, this method returns silently.
-
hasMmContentType
boolean hasMmContentType()
Returns true if the MM-Content-Type AVP is present in the MMS-Information AVP.
-
getMmContentType
MmContentType getMmContentType()
Returns the value of the MM-Content-Type AVP, of type Grouped.- Returns:
- the value of the MM-Content-Type AVP, or null if it has not been set.
-
setMmContentType
void setMmContentType(MmContentType mmContentType)
Sets the value of the MM-Content-Type AVP, of type Grouped.- Throws:
NullPointerException- ifmmContentTypeisnull.
-
removeMmContentType
void removeMmContentType()
Removes the MM-Content-Type AVP from the MMS-Information AVP. If the MM-Content-Type AVP is not present, this method returns silently.
-
hasPriority
boolean hasPriority()
Returns true if the Priority AVP is present in the MMS-Information AVP.
-
getPriority
Priority getPriority()
Returns the value of the Priority AVP, of type Enumerated.- Returns:
- the value of the Priority AVP, or null if it has not been set.
-
setPriority
void setPriority(Priority priority)
Sets the value of the Priority AVP, of type Enumerated.- Throws:
NullPointerException- ifpriorityisnull.
-
removePriority
void removePriority()
Removes the Priority AVP from the MMS-Information AVP. If the Priority AVP is not present, this method returns silently.
-
hasMessageId
boolean hasMessageId()
Returns true if the Message-ID AVP is present in the MMS-Information AVP.
-
getMessageId
String getMessageId()
Returns the value of the Message-ID AVP, of type UTF8String.- Returns:
- the value of the Message-ID AVP, or null if it has not been set.
-
setMessageId
void setMessageId(String messageId)
Sets the value of the Message-ID AVP, of type UTF8String.- Throws:
NullPointerException- ifmessageIdisnull.
-
removeMessageId
void removeMessageId()
Removes the Message-ID AVP from the MMS-Information AVP. If the Message-ID AVP is not present, this method returns silently.
-
hasMessageType
boolean hasMessageType()
Returns true if the Message-Type AVP is present in the MMS-Information AVP.
-
getMessageType
MessageType getMessageType()
Returns the value of the Message-Type AVP, of type Enumerated.- Returns:
- the value of the Message-Type AVP, or null if it has not been set.
-
setMessageType
void setMessageType(MessageType messageType)
Sets the value of the Message-Type AVP, of type Enumerated.- Throws:
NullPointerException- ifmessageTypeisnull.
-
removeMessageType
void removeMessageType()
Removes the Message-Type AVP from the MMS-Information AVP. If the Message-Type AVP is not present, this method returns silently.
-
hasMessageSize
boolean hasMessageSize()
Returns true if the Message-Size AVP is present in the MMS-Information AVP.
-
getMessageSize
long getMessageSize()
Returns the value of the Message-Size AVP, of type Unsigned32. UsehasMessageSize()to check the existence of this AVP.- Returns:
- the value of the Message-Size AVP
- Throws:
IllegalStateException- if the Message-Size AVP has not been set.
-
setMessageSize
void setMessageSize(long messageSize)
Sets the value of the Message-Size AVP, of type Unsigned32.
-
removeMessageSize
void removeMessageSize()
Removes the Message-Size AVP from the MMS-Information AVP. If the Message-Size AVP is not present, this method returns silently.
-
hasMessageClass
boolean hasMessageClass()
Returns true if the Message-Class AVP is present in the MMS-Information AVP.
-
getMessageClass
MessageClass getMessageClass()
Returns the value of the Message-Class AVP, of type Grouped.- Returns:
- the value of the Message-Class AVP, or null if it has not been set.
-
setMessageClass
void setMessageClass(MessageClass messageClass)
Sets the value of the Message-Class AVP, of type Grouped.- Throws:
NullPointerException- ifmessageClassisnull.
-
removeMessageClass
void removeMessageClass()
Removes the Message-Class AVP from the MMS-Information AVP. If the Message-Class AVP is not present, this method returns silently.
-
hasDeliveryReportRequested
boolean hasDeliveryReportRequested()
Returns true if the Delivery-Report-Requested AVP is present in the MMS-Information AVP.
-
getDeliveryReportRequested
DeliveryReportRequested getDeliveryReportRequested()
Returns the value of the Delivery-Report-Requested AVP, of type Enumerated.- Returns:
- the value of the Delivery-Report-Requested AVP, or null if it has not been set.
-
setDeliveryReportRequested
void setDeliveryReportRequested(DeliveryReportRequested deliveryReportRequested)
Sets the value of the Delivery-Report-Requested AVP, of type Enumerated.- Throws:
NullPointerException- ifdeliveryReportRequestedisnull.
-
removeDeliveryReportRequested
void removeDeliveryReportRequested()
Removes the Delivery-Report-Requested AVP from the MMS-Information AVP. If the Delivery-Report-Requested AVP is not present, this method returns silently.
-
hasReadReplyReportRequested
boolean hasReadReplyReportRequested()
Returns true if the Read-Reply-Report-Requested AVP is present in the MMS-Information AVP.
-
getReadReplyReportRequested
ReadReplyReportRequested getReadReplyReportRequested()
Returns the value of the Read-Reply-Report-Requested AVP, of type Enumerated.- Returns:
- the value of the Read-Reply-Report-Requested AVP, or null if it has not been set.
-
setReadReplyReportRequested
void setReadReplyReportRequested(ReadReplyReportRequested readReplyReportRequested)
Sets the value of the Read-Reply-Report-Requested AVP, of type Enumerated.- Throws:
NullPointerException- ifreadReplyReportRequestedisnull.
-
removeReadReplyReportRequested
void removeReadReplyReportRequested()
Removes the Read-Reply-Report-Requested AVP from the MMS-Information AVP. If the Read-Reply-Report-Requested AVP is not present, this method returns silently.
-
hasMmboxStorageRequested
boolean hasMmboxStorageRequested()
Returns true if the MMBox-Storage-Requested AVP is present in the MMS-Information AVP.
-
getMmboxStorageRequested
MmboxStorageRequested getMmboxStorageRequested()
Returns the value of the MMBox-Storage-Requested AVP, of type Enumerated.- Returns:
- the value of the MMBox-Storage-Requested AVP, or null if it has not been set.
-
setMmboxStorageRequested
void setMmboxStorageRequested(MmboxStorageRequested mmboxStorageRequested)
Sets the value of the MMBox-Storage-Requested AVP, of type Enumerated.- Throws:
NullPointerException- ifmmboxStorageRequestedisnull.
-
removeMmboxStorageRequested
void removeMmboxStorageRequested()
Removes the MMBox-Storage-Requested AVP from the MMS-Information AVP. If the MMBox-Storage-Requested AVP is not present, this method returns silently.
-
hasApplicId
boolean hasApplicId()
Returns true if the Applic-ID AVP is present in the MMS-Information AVP.
-
getApplicId
String getApplicId()
Returns the value of the Applic-ID AVP, of type UTF8String.- Returns:
- the value of the Applic-ID AVP, or null if it has not been set.
-
setApplicId
void setApplicId(String applicId)
Sets the value of the Applic-ID AVP, of type UTF8String.- Throws:
NullPointerException- ifapplicIdisnull.
-
removeApplicId
void removeApplicId()
Removes the Applic-ID AVP from the MMS-Information AVP. If the Applic-ID AVP is not present, this method returns silently.
-
hasReplyApplicId
boolean hasReplyApplicId()
Returns true if the Reply-Applic-ID AVP is present in the MMS-Information AVP.
-
getReplyApplicId
String getReplyApplicId()
Returns the value of the Reply-Applic-ID AVP, of type UTF8String.- Returns:
- the value of the Reply-Applic-ID AVP, or null if it has not been set.
-
setReplyApplicId
void setReplyApplicId(String replyApplicId)
Sets the value of the Reply-Applic-ID AVP, of type UTF8String.- Throws:
NullPointerException- ifreplyApplicIdisnull.
-
removeReplyApplicId
void removeReplyApplicId()
Removes the Reply-Applic-ID AVP from the MMS-Information AVP. If the Reply-Applic-ID AVP is not present, this method returns silently.
-
hasAuxApplicInfo
boolean hasAuxApplicInfo()
Returns true if the Aux-Applic-Info AVP is present in the MMS-Information AVP.
-
getAuxApplicInfo
String getAuxApplicInfo()
Returns the value of the Aux-Applic-Info AVP, of type UTF8String.- Returns:
- the value of the Aux-Applic-Info AVP, or null if it has not been set.
-
setAuxApplicInfo
void setAuxApplicInfo(String auxApplicInfo)
Sets the value of the Aux-Applic-Info AVP, of type UTF8String.- Throws:
NullPointerException- ifauxApplicInfoisnull.
-
removeAuxApplicInfo
void removeAuxApplicInfo()
Removes the Aux-Applic-Info AVP from the MMS-Information AVP. If the Aux-Applic-Info AVP is not present, this method returns silently.
-
hasContentClass
boolean hasContentClass()
Returns true if the Content-Class AVP is present in the MMS-Information AVP.
-
getContentClass
ContentClass getContentClass()
Returns the value of the Content-Class AVP, of type Enumerated.- Returns:
- the value of the Content-Class AVP, or null if it has not been set.
-
setContentClass
void setContentClass(ContentClass contentClass)
Sets the value of the Content-Class AVP, of type Enumerated.- Throws:
NullPointerException- ifcontentClassisnull.
-
removeContentClass
void removeContentClass()
Removes the Content-Class AVP from the MMS-Information AVP. If the Content-Class AVP is not present, this method returns silently.
-
hasDrmContent
boolean hasDrmContent()
Returns true if the DRM-Content AVP is present in the MMS-Information AVP.
-
getDrmContent
DrmContent getDrmContent()
Returns the value of the DRM-Content AVP, of type Enumerated.- Returns:
- the value of the DRM-Content AVP, or null if it has not been set.
-
setDrmContent
void setDrmContent(DrmContent drmContent)
Sets the value of the DRM-Content AVP, of type Enumerated.- Throws:
NullPointerException- ifdrmContentisnull.
-
removeDrmContent
void removeDrmContent()
Removes the DRM-Content AVP from the MMS-Information AVP. If the DRM-Content AVP is not present, this method returns silently.
-
hasAdaptations
boolean hasAdaptations()
Returns true if the Adaptations AVP is present in the MMS-Information AVP.
-
getAdaptations
Adaptations getAdaptations()
Returns the value of the Adaptations AVP, of type Enumerated.- Returns:
- the value of the Adaptations AVP, or null if it has not been set.
-
setAdaptations
void setAdaptations(Adaptations adaptations)
Sets the value of the Adaptations AVP, of type Enumerated.- Throws:
NullPointerException- ifadaptationsisnull.
-
removeAdaptations
void removeAdaptations()
Removes the Adaptations AVP from the MMS-Information AVP. If the Adaptations AVP is not present, this method returns silently.
-
hasVaspId
boolean hasVaspId()
Returns true if the VASP-Id AVP is present in the MMS-Information AVP.
-
getVaspId
String getVaspId()
Returns the value of the VASP-Id AVP, of type UTF8String.- Returns:
- the value of the VASP-Id AVP, or null if it has not been set.
-
setVaspId
void setVaspId(String vaspId)
Sets the value of the VASP-Id AVP, of type UTF8String.- Throws:
NullPointerException- ifvaspIdisnull.
-
removeVaspId
void removeVaspId()
Removes the VASP-Id AVP from the MMS-Information AVP. If the VASP-Id AVP is not present, this method returns silently.
-
hasVasId
boolean hasVasId()
Returns true if the VAS-Id AVP is present in the MMS-Information AVP.
-
getVasId
String getVasId()
Returns the value of the VAS-Id AVP, of type UTF8String.- Returns:
- the value of the VAS-Id AVP, or null if it has not been set.
-
setVasId
void setVasId(String vasId)
Sets the value of the VAS-Id AVP, of type UTF8String.- Throws:
NullPointerException- ifvasIdisnull.
-
removeVasId
void removeVasId()
Removes the VAS-Id AVP from the MMS-Information AVP. If the VAS-Id AVP is not present, this method returns silently.
-
getExtensionAvps
DiameterAvp[] getExtensionAvps()
Returns the set of extension AVPs. The returned array contains the extension AVPs in the order they appear in the MMS-Information AVP. A return value of null implies that no extensions AVPs have been set.
-
setExtensionAvps
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
Sets the set of extension AVPs with all the values in the given array. The AVPs will be added to MMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getExtensionAvps() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
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)NullPointerException- ifavpsisnull.
-
removeExtensionAvps
void removeExtensionAvps()
Removes all extension AVPs from the MMS-Information AVP. If no extension AVPs are present, this method returns silently.
-
-