public interface SdpTimestamps extends GroupedAvp
7.2.185 SDP-TimeStamps AVP The SDP-TimeStamps AVP (AVP code 1273) is of type Grouped and holds the time of the SDP offer and the SDP answer. It has the following ABNF grammar: SDP-TimeStamps ::= < AVP Header: 1273 > [ SDP-Offer-Timestamp ] [ SDP-Answer-Timestamp ]
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getSdpAnswerTimestamp()
Returns the value of the SDP-Answer-Timestamp AVP, of type Time.
|
java.util.Date |
getSdpOfferTimestamp()
Returns the value of the SDP-Offer-Timestamp AVP, of type Time.
|
boolean |
hasSdpAnswerTimestamp()
Returns true if the SDP-Answer-Timestamp AVP is present in the SDP-TimeStamps AVP.
|
boolean |
hasSdpOfferTimestamp()
Returns true if the SDP-Offer-Timestamp AVP is present in the SDP-TimeStamps AVP.
|
void |
removeSdpAnswerTimestamp()
Removes the SDP-Answer-Timestamp AVP from the SDP-TimeStamps AVP.
|
void |
removeSdpOfferTimestamp()
Removes the SDP-Offer-Timestamp AVP from the SDP-TimeStamps AVP.
|
void |
setSdpAnswerTimestamp(java.util.Date sdpAnswerTimestamp)
Sets the value of the SDP-Answer-Timestamp AVP, of type Time.
|
void |
setSdpOfferTimestamp(java.util.Date sdpOfferTimestamp)
Sets the value of the SDP-Offer-Timestamp AVP, of type Time.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasSdpOfferTimestamp()
java.util.Date getSdpOfferTimestamp()
void setSdpOfferTimestamp(java.util.Date sdpOfferTimestamp)
java.lang.NullPointerException
- if sdpOfferTimestamp
is null
.void removeSdpOfferTimestamp()
boolean hasSdpAnswerTimestamp()
java.util.Date getSdpAnswerTimestamp()
void setSdpAnswerTimestamp(java.util.Date sdpAnswerTimestamp)
java.lang.NullPointerException
- if sdpAnswerTimestamp
is null
.void removeSdpAnswerTimestamp()