XMPP namespaces. More...
#include <xmpputils.h>
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) |
XMPP namespaces.
This class holds the XMPP/JabberComponent/Jingle namespace enumerations and the associated strings
| 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().
1.6.3