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 9 String getMethod(); 10 void setMethod(String method) throws ParseException; 11 12 long getCSequenceNumber(); 13 void setCSequenceNumber(long cSequenceNumber) throws InvalidArgumentException; 14 15 long getRSequenceNumber(); 16 void setRSequenceNumber(long rSequenceNumber) throws InvalidArgumentException; 17 18 /** 19 * @deprecated 20 * @see #getCSequenceNumber() 21 */ 22 int getCSeqNumber(); 23 /** 24 * @deprecated 25 * @see #setCSequenceNumber(long) 26 */ 27 void setCSeqNumber(int cSeqNumber) throws InvalidArgumentException; 28 29 /** 30 * @deprecated 31 * @see #getRSequenceNumber() 32 */ 33 int getRSeqNumber(); 34 /** 35 * @deprecated 36 * @see #setRSequenceNumber(long) 37 */ 38 void setRSeqNumber(int rSeqNumber) throws InvalidArgumentException; 39 } 40