You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
987 B
39 lines
987 B
package javax.sip.header;
|
|
|
|
import java.text.ParseException;
|
|
import javax.sip.InvalidArgumentException;
|
|
|
|
public interface ViaHeader extends Header, Parameters {
|
|
String NAME = "Via";
|
|
|
|
String getBranch();
|
|
void setBranch(String branch) throws ParseException;
|
|
|
|
String getHost();
|
|
void setHost(String host) throws ParseException;
|
|
|
|
String getMAddr();
|
|
void setMAddr(String mAddr) throws ParseException;
|
|
|
|
int getPort();
|
|
void setPort(int port) throws InvalidArgumentException;
|
|
|
|
String getProtocol();
|
|
void setProtocol(String protocol) throws ParseException;
|
|
|
|
String getReceived();
|
|
void setReceived(String received) throws ParseException;
|
|
|
|
int getRPort();
|
|
void setRPort() throws InvalidArgumentException;
|
|
|
|
String getTransport();
|
|
void setTransport(String transport) throws ParseException;
|
|
|
|
int getTTL();
|
|
void setTTL(int ttl) throws InvalidArgumentException;
|
|
|
|
String getSentByField();
|
|
String getSentProtocolField();
|
|
}
|