public interface TrafficDataVolumes extends GroupedAvp
7.2.233 Traffic-Data-Volumes AVP The Traffic-Data-Volumes AVP (AVP code 2046) is of type Grouped. Its purpose is to allow the transmission of the IP-CAN bearer container, on encountering change on charging condition for this IP-CAN bearer.This container reports the volume count (separated for uplink and downlink). It has the following ABNF grammar: Traffic-Data-Volumes ::= < AVP Header: 2046> [ QoS-Information ] [ Accounting-Input-Octets ] [ Accounting-Input-Packets ] [ Accounting-Output-Octets ] [ Accounting-Output-Packets ] [ Change-Condition ] [ Change-Time ] [ TGPP-User-Location-Info ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
long |
getAccountingInputOctets()
Returns the value of the Accounting-Input-Octets AVP, of type Unsigned64.
|
long |
getAccountingInputPackets()
Returns the value of the Accounting-Input-Packets AVP, of type Unsigned64.
|
long |
getAccountingOutputOctets()
Returns the value of the Accounting-Output-Octets AVP, of type Unsigned64.
|
long |
getAccountingOutputPackets()
Returns the value of the Accounting-Output-Packets AVP, of type Unsigned64.
|
int |
getChangeCondition()
Returns the value of the Change-Condition AVP, of type Integer32.
|
java.util.Date |
getChangeTime()
Returns the value of the Change-Time AVP, of type Time.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
QosInformation |
getQosInformation()
Returns the value of the QoS-Information AVP, of type Grouped.
|
byte[] |
getTgppUserLocationInfo()
Returns the value of the TGPP-User-Location-Info AVP, of type OctetString.
|
boolean |
hasAccountingInputOctets()
Returns true if the Accounting-Input-Octets AVP is present in the Traffic-Data-Volumes AVP.
|
boolean |
hasAccountingInputPackets()
Returns true if the Accounting-Input-Packets AVP is present in the Traffic-Data-Volumes AVP.
|
boolean |
hasAccountingOutputOctets()
Returns true if the Accounting-Output-Octets AVP is present in the Traffic-Data-Volumes AVP.
|
boolean |
hasAccountingOutputPackets()
Returns true if the Accounting-Output-Packets AVP is present in the Traffic-Data-Volumes AVP.
|
boolean |
hasChangeCondition()
Returns true if the Change-Condition AVP is present in the Traffic-Data-Volumes AVP.
|
boolean |
hasChangeTime()
Returns true if the Change-Time AVP is present in the Traffic-Data-Volumes AVP.
|
boolean |
hasQosInformation()
Returns true if the QoS-Information AVP is present in the Traffic-Data-Volumes AVP.
|
boolean |
hasTgppUserLocationInfo()
Returns true if the TGPP-User-Location-Info AVP is present in the Traffic-Data-Volumes AVP.
|
void |
removeAccountingInputOctets()
Removes the Accounting-Input-Octets AVP from the Traffic-Data-Volumes AVP.
|
void |
removeAccountingInputPackets()
Removes the Accounting-Input-Packets AVP from the Traffic-Data-Volumes AVP.
|
void |
removeAccountingOutputOctets()
Removes the Accounting-Output-Octets AVP from the Traffic-Data-Volumes AVP.
|
void |
removeAccountingOutputPackets()
Removes the Accounting-Output-Packets AVP from the Traffic-Data-Volumes AVP.
|
void |
removeChangeCondition()
Removes the Change-Condition AVP from the Traffic-Data-Volumes AVP.
|
void |
removeChangeTime()
Removes the Change-Time AVP from the Traffic-Data-Volumes AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Traffic-Data-Volumes AVP.
|
void |
removeQosInformation()
Removes the QoS-Information AVP from the Traffic-Data-Volumes AVP.
|
void |
removeTgppUserLocationInfo()
Removes the TGPP-User-Location-Info AVP from the Traffic-Data-Volumes AVP.
|
void |
setAccountingInputOctets(long accountingInputOctets)
Sets the value of the Accounting-Input-Octets AVP, of type Unsigned64.
|
void |
setAccountingInputPackets(long accountingInputPackets)
Sets the value of the Accounting-Input-Packets AVP, of type Unsigned64.
|
void |
setAccountingOutputOctets(long accountingOutputOctets)
Sets the value of the Accounting-Output-Octets AVP, of type Unsigned64.
|
void |
setAccountingOutputPackets(long accountingOutputPackets)
Sets the value of the Accounting-Output-Packets AVP, of type Unsigned64.
|
void |
setChangeCondition(int changeCondition)
Sets the value of the Change-Condition AVP, of type Integer32.
|
void |
setChangeTime(java.util.Date changeTime)
Sets the value of the Change-Time AVP, of type Time.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setQosInformation(QosInformation qosInformation)
Sets the value of the QoS-Information AVP, of type Grouped.
|
void |
setTgppUserLocationInfo(byte[] tgppUserLocationInfo)
Sets the value of the TGPP-User-Location-Info AVP, of type OctetString.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasQosInformation()
QosInformation getQosInformation()
void setQosInformation(QosInformation qosInformation)
java.lang.NullPointerException
- if qosInformation
is null
.void removeQosInformation()
boolean hasAccountingInputOctets()
long getAccountingInputOctets()
hasAccountingInputOctets()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Accounting-Input-Octets AVP has not been set.void setAccountingInputOctets(long accountingInputOctets)
void removeAccountingInputOctets()
boolean hasAccountingInputPackets()
long getAccountingInputPackets()
hasAccountingInputPackets()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Accounting-Input-Packets AVP has not been set.void setAccountingInputPackets(long accountingInputPackets)
void removeAccountingInputPackets()
boolean hasAccountingOutputOctets()
long getAccountingOutputOctets()
hasAccountingOutputOctets()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Accounting-Output-Octets AVP has not been set.void setAccountingOutputOctets(long accountingOutputOctets)
void removeAccountingOutputOctets()
boolean hasAccountingOutputPackets()
long getAccountingOutputPackets()
hasAccountingOutputPackets()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Accounting-Output-Packets AVP has not been set.void setAccountingOutputPackets(long accountingOutputPackets)
void removeAccountingOutputPackets()
boolean hasChangeCondition()
int getChangeCondition()
hasChangeCondition()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Change-Condition AVP has not been set.void setChangeCondition(int changeCondition)
void removeChangeCondition()
boolean hasChangeTime()
java.util.Date getChangeTime()
void setChangeTime(java.util.Date changeTime)
java.lang.NullPointerException
- if changeTime
is null
.void removeChangeTime()
boolean hasTgppUserLocationInfo()
byte[] getTgppUserLocationInfo()
void setTgppUserLocationInfo(byte[] tgppUserLocationInfo)
java.lang.NullPointerException
- if tgppUserLocationInfo
is null
.void removeTgppUserLocationInfo()
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()