1package javax.sip.header;
2
3import java.text.ParseException;
4import javax.sip.InvalidArgumentException;
5
6public interface ViaHeader extends Header, Parameters {
7    String NAME = "Via";
8
9    String getBranch();
10    void setBranch(String branch) throws ParseException;
11
12    String getHost();
13    void setHost(String host) throws ParseException;
14
15    String getMAddr();
16    void setMAddr(String mAddr) throws ParseException;
17
18    int getPort();
19    void setPort(int port) throws InvalidArgumentException;
20
21    String getProtocol();
22    void setProtocol(String protocol) throws ParseException;
23
24    String getReceived();
25    void setReceived(String received) throws ParseException;
26
27    int getRPort();
28    void setRPort() throws InvalidArgumentException;
29
30    String getTransport();
31    void setTransport(String transport) throws ParseException;
32
33    int getTTL();
34    void setTTL(int ttl) throws InvalidArgumentException;
35
36    String getSentByField();
37    String getSentProtocolField();
38}
39