Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

MUCInvite Class Reference

This is an implementation of XEP-0249 (Direct MUC Invitations) as a StanzaExtension. More...

#include <mucinvite.h>

Inherits StanzaExtension.

Inheritance diagram for MUCInvite:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 MUCInvite (const Tag *tag=0)
 MUCInvite (const JID &room, const std::string &password=EmptyString)
virtual ~MUCInvite ()
virtual const std::string & filterString () const
virtual StanzaExtensionnewInstance (const Tag *tag) const
virtual Tagtag () const
virtual StanzaExtensionclone () const

Detailed Description

This is an implementation of XEP-0249 (Direct MUC Invitations) as a StanzaExtension.

XEP Version: 0.1

Author:
Jakob Schroeter <js@camaya.net>
Since:
1.1

Definition at line 37 of file mucinvite.h.


Constructor & Destructor Documentation

MUCInvite const Tag tag = 0  ) 
 

Constructs a new object from the given Tag.

Parameters:
tag The Tag to parse.

Definition at line 23 of file mucinvite.cpp.

MUCInvite const JID room,
const std::string &  password = EmptyString
 

Constructs a new object with the given namespace and priority.

Parameters:
room The bare JID of the room to invite to.
password An optional password for the room.

Definition at line 33 of file mucinvite.cpp.

~MUCInvite  )  [virtual]
 

Virtual Destructor.

Definition at line 38 of file mucinvite.cpp.


Member Function Documentation

virtual StanzaExtension* clone  )  const [inline, virtual]
 

Returns an identical copy of the current StanzaExtension.

Returns:
An identical copy of the current StanzaExtension.

Implements StanzaExtension.

Definition at line 72 of file mucinvite.h.

const std::string & filterString  )  const [virtual]
 

Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.

Returns:
The extension's filter string.

Implements StanzaExtension.

Definition at line 42 of file mucinvite.cpp.

virtual StanzaExtension* newInstance const Tag tag  )  const [inline, virtual]
 

Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like:

 StanzaExtension* FooExtension::newInstance( const Tag* tag ) const
 {
   return new FooExtension( tag );
 }
Returns:
The derived extension's new instance.

Implements StanzaExtension.

Definition at line 63 of file mucinvite.h.

Tag * tag  )  const [virtual]
 

Returns a Tag representation of the extension.

Returns:
A Tag representation of the extension.

Implements StanzaExtension.

Definition at line 48 of file mucinvite.cpp.


The documentation for this class was generated from the following files:
Generated on Tue May 4 16:35:18 2010 for gloox by  doxygen 1.4.1