Yate
Public Types | Public Member Functions | Static Public Member Functions

XMPPNamespace Class Reference

XMPP namespaces. More...

#include <xmpputils.h>

List of all members.

Public Types

enum  Type {
  Stream = 1, Client, Server, ComponentAccept,
  ComponentConnect, StreamError, StanzaError, Register,
  IqRegister, IqPrivate, IqAuth, IqAuthFeature,
  Starttls, Sasl, Session, Bind,
  Roster, DynamicRoster, DiscoInfo, DiscoItems,
  VCard, SIProfileFileTransfer, ByteStreams, Jingle,
  JingleError, JingleAppsRtp, JingleAppsRtpInfo, JingleAppsRtpAudio,
  JingleAppsFileTransfer, JingleTransportIceUdp, JingleTransportRawUdp, JingleTransportRawUdpInfo,
  JingleTransportByteStreams, JingleTransfer, Dtmf, JingleSession,
  JingleAudio, JingleTransport, JingleRtpInfoOld, DtmfOld,
  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: