glooxd
0.3-svn
|
#include <featurestarttls.h>
Public Member Functions | |
FeatureSTARTTLS (bool required, CertificateProvider *cp) | |
virtual | ~FeatureSTARTTLS () |
virtual const std::string & | filterString () const |
virtual gloox::Tag * | tag (int state, const std::string &domain) |
virtual StreamFeature * | newInstance () const |
Public Member Functions inherited from StreamFeature | |
StreamFeature () | |
virtual | ~StreamFeature () |
void | setParent (StreamBase *parent) |
An abstraction of the STARTTLS stream feature.
Definition at line 39 of file featurestarttls.h.
FeatureSTARTTLS | ( | bool | required, |
CertificateProvider * | cp | ||
) |
Constructor.
@b | True if a <required/> should be included in the stream feature. |
cp | The CertificateProvider. |
Definition at line 27 of file featurestarttls.cpp.
|
virtual |
virtual destructor.
Definition at line 34 of file featurestarttls.cpp.
|
virtual |
Returns an XPath expression that describes the elements that are associated with this stream feature.
Implements StreamFeature.
Definition at line 39 of file featurestarttls.cpp.
|
inlinevirtual |
Returns a new Instance of the derived type. It should be configured identically, but should not inherit any state. The simplest implementation for a derived class FooFeature looks like:
Implements StreamFeature.
Definition at line 63 of file featurestarttls.h.
|
virtual |
Returns a Tag structire for inclusion in the stream features to send to the client. Features may depend on current stream state and the domain the client requested.
Implements StreamFeature.
Definition at line 45 of file featurestarttls.cpp.