public interface SdpMediaComponent extends GroupedAvp
7.2.180 SDP-Media-Component AVP The SDP-Media-Component AVP (AVP code 843) is of type Grouped and contains information about media used for a IMS session. It has the following ABNF grammar: SDP-Media-Component ::= <AVP Header: 843 > [ SDP-Media-Name ] * [ SDP-Media-Description ] [ Media-Initiator-Flag] [ Media-Initiator-Party ] [ Authorised-QoS ] [ TGPP-Charging-Id ] [ Access-Network-Charging-Identifier-Value ] [ SDP-Type ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
byte[] |
getAccessNetworkChargingIdentifierValue()
Returns the value of the Access-Network-Charging-Identifier-Value AVP, of type OctetString.
|
java.lang.String |
getAuthorisedQos()
Returns the value of the Authorised-QoS AVP, of type UTF8String.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
MediaInitiatorFlag |
getMediaInitiatorFlag()
Returns the value of the Media-Initiator-Flag AVP, of type Enumerated.
|
java.lang.String |
getMediaInitiatorParty()
Returns the value of the Media-Initiator-Party AVP, of type UTF8String.
|
java.lang.String[] |
getSdpMediaDescriptions()
Returns the set of SDP-Media-Description AVPs.
|
java.lang.String |
getSdpMediaName()
Returns the value of the SDP-Media-Name AVP, of type UTF8String.
|
SdpType |
getSdpType()
Returns the value of the SDP-Type AVP, of type Enumerated.
|
byte[] |
getTgppChargingId()
Returns the value of the TGPP-Charging-Id AVP, of type OctetString.
|
boolean |
hasAccessNetworkChargingIdentifierValue()
Returns true if the Access-Network-Charging-Identifier-Value AVP is present in the SDP-Media-Component AVP.
|
boolean |
hasAuthorisedQos()
Returns true if the Authorised-QoS AVP is present in the SDP-Media-Component AVP.
|
boolean |
hasMediaInitiatorFlag()
Returns true if the Media-Initiator-Flag AVP is present in the SDP-Media-Component AVP.
|
boolean |
hasMediaInitiatorParty()
Returns true if the Media-Initiator-Party AVP is present in the SDP-Media-Component AVP.
|
boolean |
hasSdpMediaName()
Returns true if the SDP-Media-Name AVP is present in the SDP-Media-Component AVP.
|
boolean |
hasSdpType()
Returns true if the SDP-Type AVP is present in the SDP-Media-Component AVP.
|
boolean |
hasTgppChargingId()
Returns true if the TGPP-Charging-Id AVP is present in the SDP-Media-Component AVP.
|
void |
removeAccessNetworkChargingIdentifierValue()
Removes the Access-Network-Charging-Identifier-Value AVP from the SDP-Media-Component AVP.
|
void |
removeAuthorisedQos()
Removes the Authorised-QoS AVP from the SDP-Media-Component AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the SDP-Media-Component AVP.
|
void |
removeMediaInitiatorFlag()
Removes the Media-Initiator-Flag AVP from the SDP-Media-Component AVP.
|
void |
removeMediaInitiatorParty()
Removes the Media-Initiator-Party AVP from the SDP-Media-Component AVP.
|
void |
removeSdpMediaDescriptions()
Removes all SDP-Media-Description AVPs from the SDP-Media-Component AVP.
|
void |
removeSdpMediaName()
Removes the SDP-Media-Name AVP from the SDP-Media-Component AVP.
|
void |
removeSdpType()
Removes the SDP-Type AVP from the SDP-Media-Component AVP.
|
void |
removeTgppChargingId()
Removes the TGPP-Charging-Id AVP from the SDP-Media-Component AVP.
|
void |
setAccessNetworkChargingIdentifierValue(byte[] accessNetworkChargingIdentifierValue)
Sets the value of the Access-Network-Charging-Identifier-Value AVP, of type OctetString.
|
void |
setAuthorisedQos(java.lang.String authorisedQos)
Sets the value of the Authorised-QoS AVP, of type UTF8String.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setMediaInitiatorFlag(MediaInitiatorFlag mediaInitiatorFlag)
Sets the value of the Media-Initiator-Flag AVP, of type Enumerated.
|
void |
setMediaInitiatorParty(java.lang.String mediaInitiatorParty)
Sets the value of the Media-Initiator-Party AVP, of type UTF8String.
|
void |
setSdpMediaDescription(java.lang.String sdpMediaDescription)
Sets a single SDP-Media-Description AVP in the SDP-Media-Component AVP, of type UTF8String.
|
void |
setSdpMediaDescriptions(java.lang.String[] sdpMediaDescriptions)
Sets the set of SDP-Media-Description AVPs, with all the values in the given array.
|
void |
setSdpMediaName(java.lang.String sdpMediaName)
Sets the value of the SDP-Media-Name AVP, of type UTF8String.
|
void |
setSdpType(SdpType sdpType)
Sets the value of the SDP-Type AVP, of type Enumerated.
|
void |
setTgppChargingId(byte[] tgppChargingId)
Sets the value of the TGPP-Charging-Id AVP, of type OctetString.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasSdpMediaName()
java.lang.String getSdpMediaName()
void setSdpMediaName(java.lang.String sdpMediaName)
java.lang.NullPointerException
- if sdpMediaName
is null
.void removeSdpMediaName()
java.lang.String[] getSdpMediaDescriptions()
void setSdpMediaDescription(java.lang.String sdpMediaDescription)
java.lang.NullPointerException
- if sdpMediaDescription
is null
.void setSdpMediaDescriptions(java.lang.String[] sdpMediaDescriptions)
java.lang.NullPointerException
- if sdpMediaDescriptions
is null
.void removeSdpMediaDescriptions()
boolean hasMediaInitiatorFlag()
MediaInitiatorFlag getMediaInitiatorFlag()
void setMediaInitiatorFlag(MediaInitiatorFlag mediaInitiatorFlag)
java.lang.NullPointerException
- if mediaInitiatorFlag
is null
.void removeMediaInitiatorFlag()
boolean hasMediaInitiatorParty()
java.lang.String getMediaInitiatorParty()
void setMediaInitiatorParty(java.lang.String mediaInitiatorParty)
java.lang.NullPointerException
- if mediaInitiatorParty
is null
.void removeMediaInitiatorParty()
boolean hasAuthorisedQos()
java.lang.String getAuthorisedQos()
void setAuthorisedQos(java.lang.String authorisedQos)
java.lang.NullPointerException
- if authorisedQos
is null
.void removeAuthorisedQos()
boolean hasTgppChargingId()
byte[] getTgppChargingId()
void setTgppChargingId(byte[] tgppChargingId)
java.lang.NullPointerException
- if tgppChargingId
is null
.void removeTgppChargingId()
boolean hasAccessNetworkChargingIdentifierValue()
byte[] getAccessNetworkChargingIdentifierValue()
void setAccessNetworkChargingIdentifierValue(byte[] accessNetworkChargingIdentifierValue)
java.lang.NullPointerException
- if accessNetworkChargingIdentifierValue
is null
.void removeAccessNetworkChargingIdentifierValue()
boolean hasSdpType()
SdpType getSdpType()
void setSdpType(SdpType sdpType)
java.lang.NullPointerException
- if sdpType
is null
.void removeSdpType()
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()