public class ConnectionField extends Object implements SdpField
The "c=" field contains connection data.
A session description MUST contain either at least one "c=" field in each
media description or a single "c=" field at the session level. It MAY contain
a single session-level "c=" field and additional "c=" field(s) per media
description, in which case the per-media values override the session-level
settings for the respective media.
| Modifier and Type | Field and Description |
|---|---|
protected static String |
BEGIN |
static char |
FIELD_TYPE |
FIELD_SEPARATOR| Constructor and Description |
|---|
ConnectionField() |
ConnectionField(String netType,
String addressType,
String address) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress() |
String |
getAddressType() |
char |
getFieldType()
Gets the type of the field
|
String |
getNetworkType() |
void |
setAddress(String address) |
void |
setAddressType(String addressType) |
void |
setNetworkType(String netType) |
String |
toString() |
public static final char FIELD_TYPE
protected static final String BEGIN
public String getNetworkType()
public void setNetworkType(String netType)
public String getAddressType()
public void setAddressType(String addressType)
public String getAddress()
public void setAddress(String address)
public char getFieldType()
SdpFieldgetFieldType in interface SdpFieldCopyright © 2018 TeleStax, Inc.. All rights reserved.