gloox  1.1-svn
Public Member Functions | List of all members
Session::Jingle Class Reference

#include <jinglesession.h>

Inheritance diagram for Session::Jingle:
Inheritance graph
[legend]

Public Member Functions

 Jingle (const Tag *tag=0)
virtual ~Jingle ()
const std::string & sid () const
const JIDinitiator () const
virtual const std::string & filterString () const
virtual StanzaExtensionnewInstance (const Tag *tag) const
virtual Tagtag () const
virtual StanzaExtensionclone () const
- Public Member Functions inherited from StanzaExtension
 StanzaExtension (int type)
virtual ~StanzaExtension ()
int extensionType () const

Detailed Description

This is an abstraction of the XEP-0166 (Jingle) <jingle> element as a StanzaExtension.

XEP Version: 0.33

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

Definition at line 193 of file jinglesession.h.

Constructor & Destructor Documentation

Jingle ( const Tag tag = 0)

Constructs a new object from the given Tag.

Parameters
tagThe Tag to parse.

Definition at line 145 of file jinglesession.cpp.

~Jingle ( )
virtual

Virtual Destructor.

Definition at line 178 of file jinglesession.cpp.

Member Function Documentation

StanzaExtension * clone ( ) const
virtual

Returns an identical copy of the current StanzaExtension.

Returns
An identical copy of the current StanzaExtension.

Implements StanzaExtension.

Definition at line 209 of file jinglesession.cpp.

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 183 of file jinglesession.cpp.

const JID& initiator ( ) const
inline

Returns the initiator.

Returns
The initiator.

Definition at line 225 of file jinglesession.h.

virtual StanzaExtension* newInstance ( const Tag tag) const
inlinevirtual

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

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

Implements StanzaExtension.

Definition at line 241 of file jinglesession.h.

const std::string& sid ( ) const
inline

Returns the session ID.

Returns
The session ID.

Definition at line 214 of file jinglesession.h.

Tag * tag ( ) const
virtual

Returns a Tag representation of the extension.

Returns
A Tag representation of the extension.

Implements StanzaExtension.

Definition at line 189 of file jinglesession.cpp.


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