class XMPPFeatureCompress

A compression feature. More...

Full nameTelEngine::XMPPFeatureCompress
Definition#include <libs/yjabber/xmpputils.h>
InheritsTelEngine::XMPPFeature [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

This class holds a compression feature along with compression methods

inline  XMPPFeatureCompress (const String& meth, bool required = false)

XMPPFeatureCompress

Constructor

Parameters:
methComma separated list of compression methods
requiredRequired flag

inline const String&  methods ()

methods

[const]

Get the compression method(s)

Returns: Comma separated list of compression methods

bool  hasMethod (const String& method)

hasMethod

[const]

Check if a given method is supported by this feature

Parameters:
methodMethod to check

Returns: True if the method was found in feature's list

XmlElement*  build (bool addReq = true)

build

[virtual]

Build an xml element from this feature

Parameters:
addReqTrue to add the required/optional child

Returns: XmlElement pointer or 0

Reimplemented from XMPPFeature.


Generated by: paulc on bussard on Fri Apr 1 18:17:10 2011, using kdoc 2.0a54.