Returns the value of the specified attribute.
Parameters: name - name - the name of the attribute throws: SdpParseException - the value of the named attribute
Returns the set of attributes for this Description as a Vector
of Attribute objects in the order they were parsed.
Parameters: create - create - specifies whether to return null or a new emptyVector in case noattributes exists for this Description attributes for this Description
Returns the integer value of the specified bandwidth name.
Parameters: name - name - the name of the bandwidth type throws: SdpParseException - the value of the named bandwidth
Returns the connection information associated with this object. This may
be null for SessionDescriptions if all Media objects have a connection
object and may be null
for Media objects if the corresponding session connection is non-null.
connection
Returns an email address to contact for further information
about the session.
This corresponds to the e= field of the SDP data.
Parameters: create - boolean to set throws: SdpException - the email address.
Adds a MediaDescription to the session description.
These correspond to the m=
fields of the SDP data.
Parameters: create - boolean to set throws: SdpException - media - the field to add.
Returns a phone number to contact for further information about
the session. This corresponds to the p= field of the SDP data.
Parameters: create - boolean to set throws: SdpException - the phone number.
Returns a TimeField indicating the start, stop, repetition and time zone
information of the
session. This corresponds to the t= field of the SDP data.
Parameters: create - boolean to set throws: SdpException - the Time Field.
Returns the time zone adjustments for the Session
Parameters: create - boolean to set throws: SdpException - a Hashtable containing the zone adjustments, where the key is theAdjusted TimeZone and the value is the offset.
Sets the value of the specified attribute.
Parameters: name - name - the name of the attribute. Parameters: value - value - the value of the named attribute. throws: SdpException - if the name or the value is null
Sets the value of the specified bandwidth type.
Parameters: name - name - the name of the bandwidth type. Parameters: value - value - the value of the named bandwidth type. throws: SdpException - if the name is null
Sets a an email address to contact for further information
about the session.
This corresponds to the e= field of the SDP data.
Parameters: emails - email - the email address. throws: SdpException - if the vector is null
Sets encryption key information.
This consists of a method and an encryption key included inline.
Parameters: key - key - the encryption key data; depending on method may be null throws: SdpException - if the parameter is null
Sets information about the originator of the session.
This corresponds to the o= field of the SDP data.
Parameters: origin - origin - the originator data. throws: SdpException - if the origin is null
Sets a phone number to contact for further information about
the session. This corresponds to the p= field of the SDP data.
Parameters: phones - phone - the phone number. throws: SdpException - if the vector is null
Sets the name of the session.
This corresponds to the s= field of the SDP data.
Parameters: sessionName - name - the session name. throws: SdpException - if the sessionName is null
Sets a TimeField indicating the start, stop, repetition and time zone
information of the
session. This corresponds to the t= field of the SDP data.
Parameters: times - time - the TimeField. throws: SdpException - if the vector is null
Sets the uri to the location of more details about the session. This
corresponds to the u=
field of the SDP data.
Parameters: uri - uri - the uri. throws: SdpException - if the uri is null
Sets the version of SDP in use.
This corresponds to the v= field of the SDP data.
Parameters: v - version - the integer version. throws: SdpException - if the version is null
Sets the time zone adjustment for the TimeField.
Parameters: zoneAdjustments - zoneAdjustments - a Hashtable containing the zoneadjustments, where the keyis the Adjusted Time Zone and the value is the offset. throws: SdpException - if the vector is null
Returns the canonical string representation of the
current SessionDescrption. Acknowledgement - this code
Returns the canonical string representationof the current SessionDescrption.