net.java.slee.resource.diameter.ro.events.avp
Interface TimeStamps

All Superinterfaces:
java.lang.Cloneable, net.java.slee.resource.diameter.base.events.avp.DiameterAvp, net.java.slee.resource.diameter.base.events.avp.GroupedAvp
All Known Implementing Classes:
TimeStampsImpl

public interface TimeStamps
extends net.java.slee.resource.diameter.base.events.avp.GroupedAvp

Defines an interface representing the Time-Stamps grouped AVP type.

From the Diameter Ro Reference Point Protocol Details (3GPP TS 32.299 V7.1.0) specification:

 7.2.111 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 ]
 

Author:
Alexandre Mendonca , Bartosz Baranowski

Field Summary
 
Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
 
Method Summary
 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 message.
 boolean hasSipResponseTimestamp()
          Returns true if the SIP-Response-Timestamp AVP is present in the message.
 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.
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.GroupedAvp
getExtensionAvps, setExtensionAvps
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, intValue, longValue, octetStringValue, stringValue
 

Method Detail

getSipRequestTimestamp

java.util.Date getSipRequestTimestamp()
Returns the value of the SIP-Request-Timestamp AVP, of type Time. A return value of null implies that the AVP has not been set.


getSipResponseTimestamp

java.util.Date getSipResponseTimestamp()
Returns the value of the SIP-Response-Timestamp AVP, of type Time. A return value of null implies that the AVP has not been set.


hasSipRequestTimestamp

boolean hasSipRequestTimestamp()
Returns true if the SIP-Request-Timestamp AVP is present in the message.


hasSipResponseTimestamp

boolean hasSipResponseTimestamp()
Returns true if the SIP-Response-Timestamp AVP is present in the message.


setSipRequestTimestamp

void setSipRequestTimestamp(java.util.Date sipRequestTimestamp)
Sets the value of the SIP-Request-Timestamp AVP, of type Time.


setSipResponseTimestamp

void setSipResponseTimestamp(java.util.Date sipResponseTimestamp)
Sets the value of the SIP-Response-Timestamp AVP, of type Time.



Copyright © 2011. All Rights Reserved.