Java程序  |  22行  |  566 B

package javax.sip.header;

import javax.sip.InvalidArgumentException;

public interface TimeStampHeader extends Header {
    String NAME = "Timestamp";

    float getDelay();
    void setDelay(float delay) throws InvalidArgumentException;
    boolean hasDelay();
    void removeDelay();

    long getTime();
    void setTime(long timeStamp) throws InvalidArgumentException;

    int getTimeDelay();
    void setTimeDelay(int delay) throws InvalidArgumentException;

    float getTimeStamp();
    void setTimeStamp(float timeStamp) throws InvalidArgumentException;
}