• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package javax.sip.header;
2 
3 import java.text.ParseException;
4 import javax.sip.InvalidArgumentException;
5 
6 public interface RAckHeader extends Header {
7     String NAME = "RAck";
8 
getMethod()9     String getMethod();
setMethod(String method)10     void setMethod(String method) throws ParseException;
11 
getCSequenceNumber()12     long getCSequenceNumber();
setCSequenceNumber(long cSequenceNumber)13     void setCSequenceNumber(long cSequenceNumber) throws InvalidArgumentException;
14 
getRSequenceNumber()15     long getRSequenceNumber();
setRSequenceNumber(long rSequenceNumber)16     void setRSequenceNumber(long rSequenceNumber) throws InvalidArgumentException;
17 
18     /**
19      * @deprecated
20      * @see #getCSequenceNumber()
21      */
getCSeqNumber()22     int getCSeqNumber();
23     /**
24      * @deprecated
25      * @see #setCSequenceNumber(long)
26      */
setCSeqNumber(int cSeqNumber)27     void setCSeqNumber(int cSeqNumber) throws InvalidArgumentException;
28 
29     /**
30      * @deprecated
31      * @see #getRSequenceNumber()
32      */
getRSeqNumber()33     int getRSeqNumber();
34     /**
35      * @deprecated
36      * @see #setRSequenceNumber(long)
37      */
setRSeqNumber(int rSeqNumber)38     void setRSeqNumber(int rSeqNumber) throws InvalidArgumentException;
39 }
40