public class ConnectionField extends SDPField implements Connection
| Modifier and Type | Field and Description |
|---|---|
protected ConnectionAddress |
address |
protected String |
addrtype |
protected String |
nettype |
CORE_PACKAGE, SDPFIELDS_PACKAGEAND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentationIN, IP4, IP6ATTRIBUTE_FIELD, BANDWIDTH_FIELD, CONNECTION_FIELD, EMAIL_FIELD, INFORMATION_FIELD, KEY_FIELD, MEDIA_FIELD, ORIGIN_FIELD, PHONE_FIELD, PROTO_VERSION_FIELD, REPEAT_FIELD, SESSION_NAME_FIELD, TIME_FIELD, URI_FIELD, ZONE_FIELD| Constructor and Description |
|---|
ConnectionField() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clones this object.
|
String |
encode()
Get the string encoded version of this object
|
String |
getAddress()
Returns the type of the network for this Connection.
|
String |
getAddressType()
Returns the type of the address for this Connection.
|
String |
getAddrtype() |
ConnectionAddress |
getConnectionAddress() |
String |
getNettype() |
String |
getNetworkType()
Returns the type of the network for this Connection.
|
void |
setAddress(ConnectionAddress a)
Set the address member
|
void |
setAddress(String addr)
Sets the type of the address for this Connection.
|
void |
setAddressType(String type)
Returns the type of the network for this Connection.
|
void |
setAddrType(String a)
Set the addrtype member
|
void |
setNettype(String n)
Set the nettype member
|
void |
setNetworkType(String type)
Sets the type of the network for this Connection.
|
String |
toString() |
getFieldName, getTypeChardbgPrint, debugDump, equals, getStringRepresentation, initSprint, match, sprintdbgPrint, dbgPrint, debugDump, encode, getClassFromName, getIndentation, getMatcher, isMySubclass, makeClone, merge, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprintfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypeCharprotected String nettype
protected String addrtype
protected ConnectionAddress address
public String getNettype()
public String getAddrtype()
public ConnectionAddress getConnectionAddress()
public void setNettype(String n)
public void setAddrType(String a)
public void setAddress(ConnectionAddress a)
public String encode()
public String getAddress() throws SdpParseException
getAddress in interface ConnectionSdpParseExceptionpublic String getAddressType() throws SdpParseException
getAddressType in interface ConnectionSdpParseExceptionpublic String getNetworkType() throws SdpParseException
getNetworkType in interface ConnectionSdpParseExceptionpublic void setAddress(String addr) throws SdpException
setAddress in interface Connectionaddr - to setSdpException - if the type is nullpublic void setAddressType(String type) throws SdpException
setAddressType in interface Connectiontype - to setSdpException - if the type is nullpublic void setNetworkType(String type) throws SdpException
setNetworkType in interface Connectiontype - to setSdpException - if the type is nullpublic Object clone()
GenericObjectclone in interface Fieldclone in class GenericObjectCopyright © 2018. All Rights Reserved.