1 package javax.sip.header;
2 
3 import javax.sip.InvalidArgumentException;
4 
5 public interface TimeStampHeader extends Header {
6     String NAME = "Timestamp";
7 
8     float getDelay();
9     void setDelay(float delay) throws InvalidArgumentException;
10     boolean hasDelay();
11     void removeDelay();
12 
13     long getTime();
14     void setTime(long timeStamp) throws InvalidArgumentException;
15 
16     int getTimeDelay();
17     void setTimeDelay(int delay) throws InvalidArgumentException;
18 
19     float getTimeStamp();
20     void setTimeStamp(float timeStamp) throws InvalidArgumentException;
21 }
22