public interface Flows extends GroupedAvp
5.3.10 Flows AVP The Flows AVP (AVP code 510) is of type Grouped, and it indicates IP flows via their flow identifiers. If no Flow-Number AVP(s) are supplied, the Flows AVP refers to all Flows matching the media component number. AVP Format: Flows ::= < AVP Header: 510> { Media-Component-Number } * [ Flow-Number ] From Policy and charging control over Rx reference point (3GPP TS 29.214 version 7.10.0 Release 7).
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
long[] |
getFlowNumbers()
Returns the set of Flow-Number AVPs.
|
long |
getMediaComponentNumber()
Returns the value of the Media-Component-Number AVP, of type Unsigned32.
|
boolean |
hasMediaComponentNumber()
Returns true if the Media-Component-Number AVP is present in the Flows AVP.
|
void |
removeFlowNumbers()
Removes all Flow-Number AVPs from the Flows AVP.
|
void |
removeMediaComponentNumber()
Removes the Media-Component-Number AVP from the Flows AVP.
|
void |
setFlowNumber(long flowNumber)
Sets a single Flow-Number AVP in the Flows AVP, of type Unsigned32.
|
void |
setFlowNumbers(long[] flowNumbers)
Sets the set of Flow-Number AVPs, with all the values in the given array.
|
void |
setMediaComponentNumber(long mediaComponentNumber)
Sets the value of the Media-Component-Number AVP, of type Unsigned32.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasMediaComponentNumber()
long getMediaComponentNumber()
hasMediaComponentNumber()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Media-Component-Number AVP has not been set.void setMediaComponentNumber(long mediaComponentNumber)
void removeMediaComponentNumber()
long[] getFlowNumbers()
void setFlowNumber(long flowNumber)
void setFlowNumbers(long[] flowNumbers)
java.lang.NullPointerException
- if flowNumbers
is null
.void removeFlowNumbers()