public interface TimeStamps extends GroupedAvp
7.2.173 Time-Stamps AVP The Time-Stamps AVP (AVP code 833) is of type Grouped and holds the time of the initial SIP request and the time of the response to the initial SIP Request. It has the following ABNF grammar: Time-Stamps ::= < AVP Header: 833 > [ SIP-Request-Timestamp ] [ SIP-Response-Timestamp ]
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getSipRequestTimestamp()
Returns the value of the SIP-Request-Timestamp AVP, of type Time.
|
java.util.Date |
getSipResponseTimestamp()
Returns the value of the SIP-Response-Timestamp AVP, of type Time.
|
boolean |
hasSipRequestTimestamp()
Returns true if the SIP-Request-Timestamp AVP is present in the Time-Stamps AVP.
|
boolean |
hasSipResponseTimestamp()
Returns true if the SIP-Response-Timestamp AVP is present in the Time-Stamps AVP.
|
void |
removeSipRequestTimestamp()
Removes the SIP-Request-Timestamp AVP from the Time-Stamps AVP.
|
void |
removeSipResponseTimestamp()
Removes the SIP-Response-Timestamp AVP from the Time-Stamps AVP.
|
void |
setSipRequestTimestamp(java.util.Date sipRequestTimestamp)
Sets the value of the SIP-Request-Timestamp AVP, of type Time.
|
void |
setSipResponseTimestamp(java.util.Date sipResponseTimestamp)
Sets the value of the SIP-Response-Timestamp AVP, of type Time.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasSipRequestTimestamp()
java.util.Date getSipRequestTimestamp()
void setSipRequestTimestamp(java.util.Date sipRequestTimestamp)
java.lang.NullPointerException
- if sipRequestTimestamp
is null
.void removeSipRequestTimestamp()
boolean hasSipResponseTimestamp()
java.util.Date getSipResponseTimestamp()
void setSipResponseTimestamp(java.util.Date sipResponseTimestamp)
java.lang.NullPointerException
- if sipResponseTimestamp
is null
.void removeSipResponseTimestamp()