glooxd  0.3-svn
Public Member Functions | List of all members
FeatureSASL Class Reference

#include <featuresasl.h>

Inheritance diagram for FeatureSASL:
Inheritance graph
[legend]

Public Member Functions

 FeatureSASL (AuthenticationHandler *authHandler)
virtual ~FeatureSASL ()
virtual const std::string & filterString () const
virtual gloox::Tag * tag (int state, const std::string &domain)
virtual StreamFeaturenewInstance () const
- Public Member Functions inherited from StreamFeature
 StreamFeature ()
virtual ~StreamFeature ()
void setParent (StreamBase *parent)

Detailed Description

An abstraction of the SASL stream feature.

Author
Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net
Since
0.2

Definition at line 38 of file featuresasl.h.

Constructor & Destructor Documentation

FeatureSASL ( AuthenticationHandler authHandler)

Constructor.

Parameters
authHandlerAn AuthenticationHandler that will perform authentication.

Definition at line 26 of file featuresasl.cpp.

virtual ~FeatureSASL ( )
inlinevirtual

virtual destructor.

Definition at line 50 of file featuresasl.h.

Member Function Documentation

const std::string & filterString ( ) const
virtual

Returns an XPath expression that describes the elements that are associated with this stream feature.

Returns
An XPath expression.

Implements StreamFeature.

Definition at line 31 of file featuresasl.cpp.

virtual StreamFeature* newInstance ( ) const
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:

{
return new FooExtension();
}
Returns
The derived feature's new instance.

Implements StreamFeature.

Definition at line 59 of file featuresasl.h.

gloox::Tag * tag ( int  state,
const std::string &  domain 
)
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.

Returns
A feature Tag. May be 0 if there is no applicable feature for the current state and domain.

Implements StreamFeature.

Definition at line 37 of file featuresasl.cpp.


The documentation for this class was generated from the following files: