NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

gov.nist.javax.sdp.fields
Class ConnectionAddress

java.lang.Object
  extended by gov.nist.core.GenericObject
      extended by gov.nist.javax.sdp.fields.SDPObject
          extended by gov.nist.javax.sdp.fields.ConnectionAddress
All Implemented Interfaces:
SDPFieldNames, Serializable, Cloneable

public class ConnectionAddress
extends SDPObject

Connection Address of the SDP header (appears as part of the Connection field)

Version:
JSR141-PUBLIC-REVIEW (subject to change)
Author:
Olivier Deruelle , M. Ranganathan
See Also:
Serialized Form

Field Summary
 
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
ConnectionAddress()
           
 
Method Summary
 Object clone()
          Clones this object.
 String encode()
          Get the string encoded version of this object
 gov.nist.core.Host getAddress()
           
 int getPort()
           
 int getTtl()
           
 void setAddress(gov.nist.core.Host a)
          Set the address member
 void setPort(int p)
          Set the port member
 void setTtl(int ttl)
          Set the ttl member
 
Methods inherited from class gov.nist.javax.sdp.fields.SDPObject
dbgPrint, debugDump, equals, match, toString
 
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
 

Constructor Detail

ConnectionAddress

public ConnectionAddress()
Method Detail

getAddress

public gov.nist.core.Host getAddress()

getTtl

public int getTtl()

getPort

public int getPort()

setAddress

public void setAddress(gov.nist.core.Host a)
Set the address member


setTtl

public void setTtl(int ttl)
Set the ttl member


setPort

public void setPort(int p)
Set the port member


encode

public String encode()
Get the string encoded version of this object

Specified by:
encode in class SDPObject
Since:
v1.0

clone

public Object clone()
Description copied from class: gov.nist.core.GenericObject
Clones this object.

Overrides:
clone in class gov.nist.core.GenericObject

NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.