public interface IsupCause extends GroupedAvp
7.2.80 B ISUP-Cause AVP The ISUP-Cause AVP (AVP code 3416) is of type Grouped and indicates the reason a voice call service is released. It has the following ABNF: ISUP-Cause ::= <AVP Header: 3416> [ ISUP-Cause-Location ] [ ISUP-Cause-Value ] [ ISUP-Cause-Diagnostics ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
byte[] |
getIsupCauseDiagnostics()
Returns the value of the ISUP-Cause-Diagnostics AVP, of type OctetString.
|
long |
getIsupCauseLocation()
Returns the value of the ISUP-Cause-Location AVP, of type Unsigned32.
|
long |
getIsupCauseValue()
Returns the value of the ISUP-Cause-Value AVP, of type Unsigned32.
|
boolean |
hasIsupCauseDiagnostics()
Returns true if the ISUP-Cause-Diagnostics AVP is present in the ISUP-Cause AVP.
|
boolean |
hasIsupCauseLocation()
Returns true if the ISUP-Cause-Location AVP is present in the ISUP-Cause AVP.
|
boolean |
hasIsupCauseValue()
Returns true if the ISUP-Cause-Value AVP is present in the ISUP-Cause AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the ISUP-Cause AVP.
|
void |
removeIsupCauseDiagnostics()
Removes the ISUP-Cause-Diagnostics AVP from the ISUP-Cause AVP.
|
void |
removeIsupCauseLocation()
Removes the ISUP-Cause-Location AVP from the ISUP-Cause AVP.
|
void |
removeIsupCauseValue()
Removes the ISUP-Cause-Value AVP from the ISUP-Cause AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setIsupCauseDiagnostics(byte[] isupCauseDiagnostics)
Sets the value of the ISUP-Cause-Diagnostics AVP, of type OctetString.
|
void |
setIsupCauseLocation(long isupCauseLocation)
Sets the value of the ISUP-Cause-Location AVP, of type Unsigned32.
|
void |
setIsupCauseValue(long isupCauseValue)
Sets the value of the ISUP-Cause-Value AVP, of type Unsigned32.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasIsupCauseLocation()
long getIsupCauseLocation()
hasIsupCauseLocation()
to check the existence of this AVP.java.lang.IllegalStateException
- if the ISUP-Cause-Location AVP has not been set.void setIsupCauseLocation(long isupCauseLocation)
void removeIsupCauseLocation()
boolean hasIsupCauseValue()
long getIsupCauseValue()
hasIsupCauseValue()
to check the existence of this AVP.java.lang.IllegalStateException
- if the ISUP-Cause-Value AVP has not been set.void setIsupCauseValue(long isupCauseValue)
void removeIsupCauseValue()
boolean hasIsupCauseDiagnostics()
byte[] getIsupCauseDiagnostics()
void setIsupCauseDiagnostics(byte[] isupCauseDiagnostics)
java.lang.NullPointerException
- if isupCauseDiagnostics
is null
.void removeIsupCauseDiagnostics()
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()