MjSip Stack
v1.6

org.zoolu.sdp
Class ConnectionField

java.lang.Object
  |
  +--org.zoolu.sdp.SdpField
        |
        +--org.zoolu.sdp.ConnectionField

public class ConnectionField
extends SdpField

SDP connection field.

    connection-field = "c=" nettype SP addrtype SP connection-address CRLF
                       ;a connection field must be present
                       ;in every media description or at the
                       ;session-level
 


Constructor Summary
ConnectionField(SdpField sf)
          Creates a new ConnectionField.
ConnectionField(java.lang.String connection_field)
          Creates a new ConnectionField.
ConnectionField(java.lang.String address_type, java.lang.String address)
          Creates a new ConnectionField.
ConnectionField(java.lang.String address_type, java.lang.String address, int ttl, int num)
          Creates a new ConnectionField.
 
Method Summary
 java.lang.String getAddress()
          Gets the connection address.
 java.lang.String getAddressType()
          Gets the connection address.
 int getNum()
          Gets the number of addresses.
 int getTTL()
          Gets the TTL.
 
Methods inherited from class org.zoolu.sdp.SdpField
clone, equals, getType, getValue, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionField

public ConnectionField(java.lang.String connection_field)
Creates a new ConnectionField.

ConnectionField

public ConnectionField(java.lang.String address_type,
                       java.lang.String address,
                       int ttl,
                       int num)
Creates a new ConnectionField.

ConnectionField

public ConnectionField(java.lang.String address_type,
                       java.lang.String address)
Creates a new ConnectionField.

ConnectionField

public ConnectionField(SdpField sf)
Creates a new ConnectionField.
Method Detail

getAddressType

public java.lang.String getAddressType()
Gets the connection address.

getAddress

public java.lang.String getAddress()
Gets the connection address.

getTTL

public int getTTL()
Gets the TTL.

getNum

public int getNum()
Gets the number of addresses.

MjSip Stack
v1.6