public interface TdfInformation extends GroupedAvp
5.3.78 TDF-Information The TDF-Information AVP (AVP code 1087) is of type Grouped and may be sent from the PCEF to the PCRF in a Gx CCR with CC-Request-Type set to INITIAL-REQUEST. This AVP contains the information about the TDF that shall handle the application detection and reporting for that IP-CAN Session. The PCRF shall create the TDF session with that TDF. The TDF-Information AVP shall include either the TDF-Destination-Realm and TDF-Destination-Host AVP, or the TDF-IP-Address AVP. NOTE: The TDF-Information AVP may also be pre-provisioned in the PCRF. In case the TDF-Information AVP pre-provisioned at the PCRF and not received from the PCEF, it is being handled e.g. by configuration that PCEF routes the traffic to the same TDF. In case the TDF-Information is pre-provisioned in the PCRF and also the value is received in CC-Request from the PCEF, the value received in CC-Request takes precedence over pre-provisioned value. AVP Format: TDF-Information ::= < AVP Header: 1087 > [ TDF-Destination-Realm ] [ TDF-Destination-Host ] [ TDF-IP-Address ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
DiameterIdentity |
getTdfDestinationHost()
Returns the value of the TDF-Destination-Host AVP, of type DiameterIdentity.
|
DiameterIdentity |
getTdfDestinationRealm()
Returns the value of the TDF-Destination-Realm AVP, of type DiameterIdentity.
|
DiameterIdentity |
getTdfIpAddress()
Returns the value of the TDF-IP-Address AVP, of type DiameterIdentity.
|
boolean |
hasTdfDestinationHost()
Returns true if the TDF-Destination-Host AVP is present in the TDF-Information AVP.
|
boolean |
hasTdfDestinationRealm()
Returns true if the TDF-Destination-Realm AVP is present in the TDF-Information AVP.
|
boolean |
hasTdfIpAddress()
Returns true if the TDF-IP-Address AVP is present in the TDF-Information AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the TDF-Information AVP.
|
void |
removeTdfDestinationHost()
Removes the TDF-Destination-Host AVP from the TDF-Information AVP.
|
void |
removeTdfDestinationRealm()
Removes the TDF-Destination-Realm AVP from the TDF-Information AVP.
|
void |
removeTdfIpAddress()
Removes the TDF-IP-Address AVP from the TDF-Information AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setTdfDestinationHost(DiameterIdentity tdfDestinationHost)
Sets the value of the TDF-Destination-Host AVP, of type DiameterIdentity.
|
void |
setTdfDestinationRealm(DiameterIdentity tdfDestinationRealm)
Sets the value of the TDF-Destination-Realm AVP, of type DiameterIdentity.
|
void |
setTdfIpAddress(DiameterIdentity tdfIpAddress)
Sets the value of the TDF-IP-Address AVP, of type DiameterIdentity.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasTdfDestinationRealm()
DiameterIdentity getTdfDestinationRealm()
void setTdfDestinationRealm(DiameterIdentity tdfDestinationRealm)
java.lang.NullPointerException
- if tdfDestinationRealm
is null
.void removeTdfDestinationRealm()
boolean hasTdfDestinationHost()
DiameterIdentity getTdfDestinationHost()
void setTdfDestinationHost(DiameterIdentity tdfDestinationHost)
java.lang.NullPointerException
- if tdfDestinationHost
is null
.void removeTdfDestinationHost()
boolean hasTdfIpAddress()
DiameterIdentity getTdfIpAddress()
void setTdfIpAddress(DiameterIdentity tdfIpAddress)
java.lang.NullPointerException
- if tdfIpAddress
is null
.void removeTdfIpAddress()
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()