public interface ConditionalApnAggregateMaxBitrate extends GroupedAvp
5.3.105 Conditional-APN-Aggregate-Max-Bitrate (All access types) The Conditional APN Aggregate Max Bitrate AVP (AVP code 2818) is of type Grouped, and it defines the conditional APN policy info. The APN Aggregate Max Bitrate UL defines the total bandwidth usage for the uplink direction of non-GBR QCIs at the APN. The APN Aggregate Max Bitrate DL defines the total bandwidth usage for the downlink direction of non-GBR QCIs at the APN. One of the APN Aggregate Max Bitrate UL and APN Aggregate Max Bitrate DL AVP shall be present. The IP CAN Type and the RAT Type AVP(s) specify the condition, in terms of IP Connectivity Access Network type and the Radio Access Technology type of the UE, respectively, when the APN Aggregate Max Bitrate UL/DL shall be enforced. At least one of the RAT Type and IP CAN Type shall be present. Conditional-APN-Aggregate-Max-Bitrate ::= < AVP Header: 2818 > [ APN-Aggregate-Max-Bitrate-UL ] [ APN-Aggregate-Max-Bitrate-DL ] *[ IP-CAN-Type ] *[ RAT-Type ] *[ AVP ]
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
long |
getApnAggregateMaxBitrateDl()
Returns the value of the APN-Aggregate-Max-Bitrate-DL AVP, of type Unsigned32.
|
long |
getApnAggregateMaxBitrateUl()
Returns the value of the APN-Aggregate-Max-Bitrate-UL AVP, of type Unsigned32.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
IpCanType[] |
getIpCanTypes()
Returns the set of IP-CAN-Type AVPs.
|
RatType[] |
getRatTypes()
Returns the set of RAT-Type AVPs.
|
boolean |
hasApnAggregateMaxBitrateDl()
Returns true if the APN-Aggregate-Max-Bitrate-DL AVP is present in the Conditional-APN-Aggregate-Max-Bitrate AVP.
|
boolean |
hasApnAggregateMaxBitrateUl()
Returns true if the APN-Aggregate-Max-Bitrate-UL AVP is present in the Conditional-APN-Aggregate-Max-Bitrate AVP.
|
void |
removeApnAggregateMaxBitrateDl()
Removes the APN-Aggregate-Max-Bitrate-DL AVP from the Conditional-APN-Aggregate-Max-Bitrate AVP.
|
void |
removeApnAggregateMaxBitrateUl()
Removes the APN-Aggregate-Max-Bitrate-UL AVP from the Conditional-APN-Aggregate-Max-Bitrate AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Conditional-APN-Aggregate-Max-Bitrate AVP.
|
void |
removeIpCanTypes()
Removes all IP-CAN-Type AVPs from the Conditional-APN-Aggregate-Max-Bitrate AVP.
|
void |
removeRatTypes()
Removes all RAT-Type AVPs from the Conditional-APN-Aggregate-Max-Bitrate AVP.
|
void |
setApnAggregateMaxBitrateDl(long apnAggregateMaxBitrateDl)
Sets the value of the APN-Aggregate-Max-Bitrate-DL AVP, of type Unsigned32.
|
void |
setApnAggregateMaxBitrateUl(long apnAggregateMaxBitrateUl)
Sets the value of the APN-Aggregate-Max-Bitrate-UL AVP, of type Unsigned32.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setIpCanType(IpCanType ipCanType)
Sets a single IP-CAN-Type AVP in the Conditional-APN-Aggregate-Max-Bitrate AVP, of type Enumerated.
|
void |
setIpCanTypes(IpCanType[] ipCanTypes)
Sets the set of IP-CAN-Type AVPs, with all the values in the given array.
|
void |
setRatType(RatType ratType)
Sets a single RAT-Type AVP in the Conditional-APN-Aggregate-Max-Bitrate AVP, of type Enumerated.
|
void |
setRatTypes(RatType[] ratTypes)
Sets the set of RAT-Type AVPs, with all the values in the given array.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasApnAggregateMaxBitrateUl()
long getApnAggregateMaxBitrateUl()
hasApnAggregateMaxBitrateUl()
to check the existence of this AVP.java.lang.IllegalStateException
- if the APN-Aggregate-Max-Bitrate-UL AVP has not been set.void setApnAggregateMaxBitrateUl(long apnAggregateMaxBitrateUl)
void removeApnAggregateMaxBitrateUl()
boolean hasApnAggregateMaxBitrateDl()
long getApnAggregateMaxBitrateDl()
hasApnAggregateMaxBitrateDl()
to check the existence of this AVP.java.lang.IllegalStateException
- if the APN-Aggregate-Max-Bitrate-DL AVP has not been set.void setApnAggregateMaxBitrateDl(long apnAggregateMaxBitrateDl)
void removeApnAggregateMaxBitrateDl()
IpCanType[] getIpCanTypes()
void setIpCanType(IpCanType ipCanType)
java.lang.NullPointerException
- if ipCanType
is null
.void setIpCanTypes(IpCanType[] ipCanTypes)
java.lang.NullPointerException
- if ipCanTypes
is null
.void removeIpCanTypes()
RatType[] getRatTypes()
void setRatType(RatType ratType)
java.lang.NullPointerException
- if ratType
is null
.void setRatTypes(RatType[] ratTypes)
java.lang.NullPointerException
- if ratTypes
is null
.void removeRatTypes()
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()