public interface TransmitterInfo extends GroupedAvp
7.2.233 C Transmitter-Info AVP The Transmitter-Info AVP (AVP code 3468) is of type Grouped and provides information on a transmitter detected for direct communication. Each transmitter is identified by a source IP address and ProSe UE ID. It has the following ABNF grammar: Transmitter-Info ::= < AVP Header: 3468> [ ProSe-Source-IP-Address ] [ ProSe-UE-ID ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
Address |
getProseSourceIpAddress()
Returns the value of the ProSe-Source-IP-Address AVP, of type Address.
|
byte[] |
getProseUeId()
Returns the value of the ProSe-UE-ID AVP, of type OctetString.
|
boolean |
hasProseSourceIpAddress()
Returns true if the ProSe-Source-IP-Address AVP is present in the Transmitter-Info AVP.
|
boolean |
hasProseUeId()
Returns true if the ProSe-UE-ID AVP is present in the Transmitter-Info AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Transmitter-Info AVP.
|
void |
removeProseSourceIpAddress()
Removes the ProSe-Source-IP-Address AVP from the Transmitter-Info AVP.
|
void |
removeProseUeId()
Removes the ProSe-UE-ID AVP from the Transmitter-Info AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setProseSourceIpAddress(Address proseSourceIpAddress)
Sets the value of the ProSe-Source-IP-Address AVP, of type Address.
|
void |
setProseUeId(byte[] proseUeId)
Sets the value of the ProSe-UE-ID AVP, of type OctetString.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasProseSourceIpAddress()
Address getProseSourceIpAddress()
void setProseSourceIpAddress(Address proseSourceIpAddress)
java.lang.NullPointerException
- if proseSourceIpAddress
is null
.void removeProseSourceIpAddress()
boolean hasProseUeId()
byte[] getProseUeId()
void setProseUeId(byte[] proseUeId)
java.lang.NullPointerException
- if proseUeId
is null
.void removeProseUeId()
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()