XMPPNamespace Class Reference

XMPP namespaces. More...

#include <xmpputils.h>

List of all members.

Public Types

enum  Type {
  Stream, Client, Server, ComponentAccept,
  ComponentConnect, StreamError, StanzaError, Register,
  IqAuth, IqAuthFeature, Starttls, Sasl,
  Session, Bind, Roster, DiscoInfo,
  DiscoItems, Jingle, JingleAudio, JingleTransport,
  Dtmf, DtmfError, Command, CapVoiceV1,
  Count
}

Public Member Functions

const char * operator[] (Type index)

Static Public Member Functions

static bool isText (Type index, const char *txt)
static Type type (const char *txt)


Detailed Description

XMPP namespaces.

This class holds the XMPP/JabberComponent/Jingle namespace enumerations and the associated strings


Member Function Documentation

static bool isText ( Type  index,
const char *  txt 
) [static]

Check if a text is a known namespace

const char* operator[] ( Type  index  )  [inline]

Get the string representation of a namespace value

References TelEngine::lookup().

static Type type ( const char *  txt  )  [inline, static]

Get the type associated with a given namespace text

References TelEngine::lookup().


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

Generated on Sun Dec 7 21:36:13 2008 for Yate by  doxygen 1.5.7.1