public interface ApplicationDetectionInformation extends GroupedAvp
5.3.91 Application-Detection-Information The Application-Detection-Information AVP (AVP code 1098) is of type Grouped, and it is used to report once the start/stop of the application traffic, defined by TDF-Application-Identifier, has been detected, in case PCRF has subscribed for APPLICATION_START/APPLICATION_STOP Event-Triggers, unless a request to mute such a notification (Mute-Notification AVP) is part of the corresponding Charging-Rule-Definition AVP to the PCEF. The corresponding TDF-Application-Identifier AVP shall be included under Application-Detection-Information AVP. When the Event trigger indicates APPLICATION_START, the Flow-Information AVP for the detected application, if deducible, shall be included under Application-Detection-Information AVP. When the Flow-Information AVP is included, the TDF-Application-Instance-Identifier AVP shall also be included. The Flow-Information AVP, if present, shall contain the Flow-Description AVP and Flow-Direction AVP. Also, the corresponding Event-Trigger (APPLICATION_START or APPLICATION_STOP) shall be provided to PCRF. When the TDF-Application-Instance-Identifier AVP is included with an APPLICATION_START event, it shall also be included when the corresponding APPLICATION_STOP event is notified. AVP Format: Application-Detection-Information ::= < AVP Header: 1098 > { TDF-Application-Identifier } [ TDF-Application-Instance-Identifier ] *[ Flow-Information ] *[ AVP ]
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
FlowInformation[] |
getFlowInformations()
Returns the set of Flow-Information AVPs.
|
byte[] |
getTdfApplicationIdentifier()
Returns the value of the TDF-Application-Identifier AVP, of type OctetString.
|
byte[] |
getTdfApplicationInstanceIdentifier()
Returns the value of the TDF-Application-Instance-Identifier AVP, of type OctetString.
|
boolean |
hasTdfApplicationIdentifier()
Returns true if the TDF-Application-Identifier AVP is present in the Application-Detection-Information AVP.
|
boolean |
hasTdfApplicationInstanceIdentifier()
Returns true if the TDF-Application-Instance-Identifier AVP is present in the Application-Detection-Information AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Application-Detection-Information AVP.
|
void |
removeFlowInformations()
Removes all Flow-Information AVPs from the Application-Detection-Information AVP.
|
void |
removeTdfApplicationIdentifier()
Removes the TDF-Application-Identifier AVP from the Application-Detection-Information AVP.
|
void |
removeTdfApplicationInstanceIdentifier()
Removes the TDF-Application-Instance-Identifier AVP from the Application-Detection-Information AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setFlowInformation(FlowInformation flowInformation)
Sets a single Flow-Information AVP in the Application-Detection-Information AVP, of type Grouped.
|
void |
setFlowInformations(FlowInformation[] flowInformations)
Sets the set of Flow-Information AVPs, with all the values in the given array.
|
void |
setTdfApplicationIdentifier(byte[] tdfApplicationIdentifier)
Sets the value of the TDF-Application-Identifier AVP, of type OctetString.
|
void |
setTdfApplicationInstanceIdentifier(byte[] tdfApplicationInstanceIdentifier)
Sets the value of the TDF-Application-Instance-Identifier AVP, of type OctetString.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasTdfApplicationIdentifier()
byte[] getTdfApplicationIdentifier()
void setTdfApplicationIdentifier(byte[] tdfApplicationIdentifier)
java.lang.NullPointerException
- if tdfApplicationIdentifier
is null
.void removeTdfApplicationIdentifier()
boolean hasTdfApplicationInstanceIdentifier()
byte[] getTdfApplicationInstanceIdentifier()
void setTdfApplicationInstanceIdentifier(byte[] tdfApplicationInstanceIdentifier)
java.lang.NullPointerException
- if tdfApplicationInstanceIdentifier
is null
.void removeTdfApplicationInstanceIdentifier()
FlowInformation[] getFlowInformations()
void setFlowInformation(FlowInformation flowInformation)
java.lang.NullPointerException
- if flowInformation
is null
.void setFlowInformations(FlowInformation[] flowInformations)
java.lang.NullPointerException
- if flowInformations
is null
.void removeFlowInformations()
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()