• 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 ViaHeader extends Header, Parameters {
7     String NAME = "Via";
8 
getBranch()9     String getBranch();
setBranch(String branch)10     void setBranch(String branch) throws ParseException;
11 
getHost()12     String getHost();
setHost(String host)13     void setHost(String host) throws ParseException;
14 
getMAddr()15     String getMAddr();
setMAddr(String mAddr)16     void setMAddr(String mAddr) throws ParseException;
17 
getPort()18     int getPort();
setPort(int port)19     void setPort(int port) throws InvalidArgumentException;
20 
getProtocol()21     String getProtocol();
setProtocol(String protocol)22     void setProtocol(String protocol) throws ParseException;
23 
getReceived()24     String getReceived();
setReceived(String received)25     void setReceived(String received) throws ParseException;
26 
getRPort()27     int getRPort();
setRPort()28     void setRPort() throws InvalidArgumentException;
29 
getTransport()30     String getTransport();
setTransport(String transport)31     void setTransport(String transport) throws ParseException;
32 
getTTL()33     int getTTL();
setTTL(int ttl)34     void setTTL(int ttl) throws InvalidArgumentException;
35 
getSentByField()36     String getSentByField();
getSentProtocolField()37     String getSentProtocolField();
38 }
39