#include <xmpputils.h>
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) |
This class holds the XMPP/JabberComponent/Jingle namespace enumerations and the associated strings
const char* operator[] | ( | Type | index | ) | [inline] |
Get the string representation of a namespace value
References TelEngine::lookup().
static bool isText | ( | Type | index, | |
const char * | txt | |||
) | [static] |
Check if a text is a known namespace
static Type type | ( | const char * | txt | ) | [inline, static] |
Get the type associated with a given namespace text
References TelEngine::lookup().