Home | History | Annotate | Download | only in header
      1 package gov.nist.javax.sip.header;
      2 
      3 /**
      4  * The SIP Status line.
      5  *
      6  * @since 2.0
      7  */
      8 public interface SipStatusLine {
      9 
     10     /** get the Sip Version
     11      * @return SipVersion
     12      */
     13     public abstract String getSipVersion();
     14 
     15     /** get the Status Code
     16      * @return StatusCode
     17      */
     18     public abstract int getStatusCode();
     19 
     20     /** get the ReasonPhrase field
     21      * @return  ReasonPhrase field
     22      */
     23     public abstract String getReasonPhrase();
     24 
     25     /**
     26      * Set the sipVersion member
     27      * @param sipVersion String to set
     28      */
     29     public abstract void setSipVersion(String sipVersion);
     30 
     31     /**
     32      * Set the statusCode member
     33      * @param statusCode int to set
     34      */
     35     public abstract void setStatusCode(int statusCode);
     36 
     37     /**
     38      * Set the reasonPhrase member
     39      * @param reasonPhrase String to set
     40      */
     41     public abstract void setReasonPhrase(String reasonPhrase);
     42 
     43     /**
     44      * Get the major version number.
     45      *@return String major version number
     46      */
     47     public abstract String getVersionMajor();
     48 
     49     /**
     50      * Get the minor version number.
     51      *@return String minor version number
     52      */
     53     public abstract String getVersionMinor();
     54 
     55 }
     56