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.
31 lines
927 B
31 lines
927 B
package javax.sip.header;
|
|
|
|
import java.text.ParseException;
|
|
import javax.sip.InvalidArgumentException;
|
|
|
|
public interface WarningHeader extends Header {
|
|
String NAME = "Warning";
|
|
|
|
int ATTRIBUTE_NOT_UNDERSTOOD = 10;
|
|
int INCOMPATIBLE_BANDWIDTH_UNITS = 20;
|
|
int INCOMPATIBLE_MEDIA_FORMAT = 21;
|
|
int INCOMPATIBLE_NETWORK_ADDRESS_FORMATS = 22;
|
|
int INCOMPATIBLE_NETWORK_PROTOCOL = 23;
|
|
int INCOMPATIBLE_TRANSPORT_PROTOCOL = 24;
|
|
int INSUFFICIENT_BANDWIDTH = 30;
|
|
int MEDIA_TYPE_NOT_AVAILABLE = 40;
|
|
int MISCELLANEOUS_WARNING = 99;
|
|
int MULTICAST_NOT_AVAILABLE = 50;
|
|
int SESSION_DESCRIPTION_PARAMETER_NOT_UNDERSTOOD = 60;
|
|
int UNICAST_NOT_AVAILABLE = 51;
|
|
|
|
String getAgent();
|
|
void setAgent(String agent) throws ParseException;
|
|
|
|
int getCode();
|
|
void setCode(int code) throws InvalidArgumentException;
|
|
|
|
String getText();
|
|
void setText(String text) throws ParseException;
|
|
}
|