Provides an interface to process and generate SDP bodies (MIME content-type application/sdp).
More...
|
| | RESIP_HeapCount (SdpContents) |
| |
| | SdpContents () |
| |
| | SdpContents (const HeaderFieldValue &hfv, const Mime &contentTypes) |
| |
| virtual | ~SdpContents () |
| |
| SdpContents & | operator= (const SdpContents &rhs) |
| |
| virtual Contents * | clone () const |
| | duplicate an SdpContents object
|
| |
| Session & | session () |
| | get the parsed SDP
|
| |
| const Session & | session () const |
| |
| virtual EncodeStream & | encodeParsed (EncodeStream &str) const |
| |
| virtual void | parse (ParseBuffer &pb) |
| |
| | Contents (const HeaderFieldValue &headerFieldValue, const Mime &contentsType) |
| | pass Mime instance for parameters
|
| |
| | Contents (const Mime &contentsType) |
| | Create a contents with a given mime type.
|
| |
| | Contents (const Contents &rhs) |
| | Copy constructor.
|
| |
| | Contents (const Contents &rhs, HeaderFieldValue::CopyPaddingEnum e) |
| |
| | Contents (const HeaderFieldValue &headerFieldValue, HeaderFieldValue::CopyPaddingEnum e, const Mime &contentsType) |
| |
| virtual | ~Contents () |
| |
| Contents & | operator= (const Contents &rhs) |
| | Assignment operator.
|
| |
| void | preParseHeaders (ParseBuffer &pb) |
| | Preforms preparsing on the headers stored in the ParseBuffer pb.
|
| |
| EncodeStream & | encodeHeaders (EncodeStream &str) const |
| | encodes headers to an output stream
|
| |
| virtual Contents * | getContents () |
| | access to wrapped contents (signed, encrypted)
|
| |
| Contents * | getContents (const Mime &) |
| |
| virtual Data | getBodyData () const |
| |
| const Mime & | getType () const |
| | getter for mime type of message
|
| |
| bool | exists (const HeaderBase &headerType) const |
| | checks to see if a header is present
|
| |
| void | remove (const HeaderBase &headerType) |
| | removes a header if it is present
|
| |
| bool | exists (const MIME_Header &headerType) const |
| | checks to see if a MIME header exists
|
| |
| void | remove (const MIME_Header &headerType) |
| | removes a MIME header if it is present
|
| |
| const H_ContentType::Type & | header (const H_ContentType &headerType) const |
| | returns the value of the Content-Type header Throws an Contents::Exception if the header doesn't exist.
|
| |
| H_ContentType::Type & | header (const H_ContentType &headerType) |
| | returns the value of the Content-Type header
|
| |
| const H_ContentDisposition::Type & | header (const H_ContentDisposition &headerType) const |
| | returns the value of the Content-Disposition header Throws an Contents::Exception if the header doesn't exist.
|
| |
| H_ContentDisposition::Type & | header (const H_ContentDisposition &headerType) |
| | returns the value of the Content-Disposition header
|
| |
| const H_ContentTransferEncoding::Type & | header (const H_ContentTransferEncoding &headerType) const |
| | returns the value of the Content-Transfer-Encoding header Throws an Contents::Exception if the header doesn't exist.
|
| |
| H_ContentTransferEncoding::Type & | header (const H_ContentTransferEncoding &headerType) |
| | returns the value of the Content-Transfer-Encoding header
|
| |
| const H_ContentLanguages::Type & | header (const H_ContentLanguages &headerType) const |
| | returns the value of the Content-Languages header Throws an Contents::Exception if the header doesn't exist.
|
| |
| H_ContentLanguages::Type & | header (const H_ContentLanguages &headerType) |
| | returns the value of the Content-Languages header
|
| |
| const H_ContentID::Type & | header (const H_ContentID &headerType) const |
| | returns the value of the Content-ID MIME header Throws an Contents::Exception if the header doesn't exist.
|
| |
| H_ContentID::Type & | header (const H_ContentID &headerType) |
| | returns the value of the Content-ID MIME header
|
| |
| const H_ContentDescription::Type & | header (const H_ContentDescription &headerType) const |
| | returns the Content-Description MIME header Throws an Contents::Exception if the header doesn't exist.
|
| |
| H_ContentDescription::Type & | header (const H_ContentDescription &headerType) |
| | returns the Content-Description MIME header
|
| |
| int & | version () |
| | returns the major version of MIME used by the contents
|
| |
| int & | minorVersion () |
| | returns the minor version of MIME used by the contents
|
| |
| void | addBuffer (char *buf) |
| |
| | LazyParser (const HeaderFieldValue &headerFieldValue) |
| |
| | LazyParser (const char *buf, int length) |
| |
| | LazyParser (const HeaderFieldValue &headerFieldValue, HeaderFieldValue::CopyPaddingEnum e) |
| |
| | LazyParser (const LazyParser &rhs) |
| |
| | LazyParser (const LazyParser &rhs, HeaderFieldValue::CopyPaddingEnum e) |
| |
| LazyParser & | operator= (const LazyParser &rhs) |
| |
| virtual | ~LazyParser () |
| |
| EncodeStream & | encode (EncodeStream &str) const |
| | Encodes this element to a stream, in the fashion it should be represented on the wire.
|
| |
| bool | isParsed () const |
| | Returns true iff a parse has been attempted.
|
| |
| HeaderFieldValue & | getHeaderField () |
| |
| void | checkParsed () const |
| |
| void | checkParsed () |
| |
| void | doParse () const |
| |
| void | markDirty () const |
| |
| bool | isWellFormed () const |
| | Returns true iff this element was parsed successfully, according to the implementation of parse().
|
| |
Provides an interface to process and generate SDP bodies (MIME content-type application/sdp).
This class performs both the parsing and generation of SDP. Most interaction with the SDP will be through the Session object, accessible through the session() method.
Definition at line 58 of file SdpContents.hxx.