|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sdp.fields.SDPObject
gov.nist.javax.sdp.fields.SDPField
gov.nist.javax.sdp.fields.ConnectionField
public class ConnectionField
Connectin Field of the SDP request.
Field Summary |
---|
Fields inherited from interface javax.sdp.Connection |
---|
IN, IP4, IP6 |
Fields inherited from interface gov.nist.javax.sdp.fields.SDPFieldNames |
---|
ATTRIBUTE_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 Summary | |
---|---|
ConnectionField()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class gov.nist.javax.sdp.fields.SDPField |
---|
getFieldName, getTypeChar |
Methods inherited from class gov.nist.javax.sdp.fields.SDPObject |
---|
dbgPrint, debugDump, equals, match |
Methods inherited from class gov.nist.core.GenericObject |
---|
debugDump, encode, getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.sdp.Field |
---|
getTypeChar |
Constructor Detail |
---|
public ConnectionField()
Method Detail |
---|
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()
encode
in class SDPField
public String toString()
toString
in class SDPField
public String getAddress() throws SdpParseException
getAddress
in interface Connection
SdpParseException
public String getAddressType() throws SdpParseException
getAddressType
in interface Connection
SdpParseException
public String getNetworkType() throws SdpParseException
getNetworkType
in interface Connection
SdpParseException
public void setAddress(String addr) throws SdpException
setAddress
in interface Connection
addr
- to set
SdpException
- if the type is nullpublic void setAddressType(String type) throws SdpException
setAddressType
in interface Connection
type
- to set
SdpException
- if the type is nullpublic void setNetworkType(String type) throws SdpException
setNetworkType
in interface Connection
type
- to set
SdpException
- if the type is nullpublic Object clone()
gov.nist.core.GenericObject
clone
in interface Field
clone
in class gov.nist.core.GenericObject
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |