gloox
1.0.28
|
Namespaces | |
Base64 | |
Jingle | |
LinkLocal | |
prep | |
PubSub | |
util | |
Typedefs | |
typedef std::list< AnnotationsListItem > | AnnotationsList |
typedef std::list< BookmarkListItem > | BookmarkList |
typedef std::list< ConferenceListItem > | ConferenceList |
typedef std::list< std::string > | StringList |
typedef std::list< std::string * > | StringPList |
typedef std::map< std::string, std::string > | StringMap |
typedef std::multimap< std::string, std::string > | StringMultiMap |
typedef std::list< const StanzaExtension * > | StanzaExtensionList |
typedef std::list< MUCListItem > | MUCListItemList |
typedef std::map< const std::string, RosterItem * > | Roster |
typedef std::list< const SearchFieldStruct * > | SearchResultList |
typedef std::list< StreamHost > | StreamHostList |
typedef std::list< Tag * > | TagList |
typedef std::list< const Tag * > | ConstTagList |
Variables | |
const std::string | XMLNS_CLIENT = "jabber:client" |
const std::string | XMLNS_COMPONENT_ACCEPT = "jabber:component:accept" |
const std::string | XMLNS_COMPONENT_CONNECT = "jabber:component:connect" |
const std::string | XMLNS_DISCO_INFO = "http://jabber.org/protocol/disco#info" |
const std::string | XMLNS_DISCO_ITEMS = "http://jabber.org/protocol/disco#items" |
const std::string | XMLNS_DISCO_PUBLISH = "http://jabber.org/protocol/disco#publish" |
const std::string | XMLNS_ADHOC_COMMANDS = "http://jabber.org/protocol/commands" |
const std::string | XMLNS_COMPRESSION = "http://jabber.org/protocol/compress" |
const std::string | XMLNS_OFFLINE = "http://jabber.org/protocol/offline" |
const std::string | XMLNS_CHAT_STATES = "http://jabber.org/protocol/chatstates" |
const std::string | XMLNS_AMP = "http://jabber.org/protocol/amp" |
const std::string | XMLNS_IBB = "http://jabber.org/protocol/ibb" |
const std::string | XMLNS_FEATURE_NEG = "http://jabber.org/protocol/feature-neg" |
const std::string | XMLNS_CHATNEG = "http://jabber.org/protocol/chatneg" |
const std::string | XMLNS_XHTML_IM = "http://jabber.org/protocol/xhtml-im" |
const std::string | XMLNS_DELAY = "urn:xmpp:delay" |
const std::string | XMLNS_ROSTER = "jabber:iq:roster" |
const std::string | XMLNS_VERSION = "jabber:iq:version" |
const std::string | XMLNS_REGISTER = "jabber:iq:register" |
const std::string | XMLNS_PRIVACY = "jabber:iq:privacy" |
const std::string | XMLNS_AUTH = "jabber:iq:auth" |
const std::string | XMLNS_PRIVATE_XML = "jabber:iq:private" |
const std::string | XMLNS_LAST = "jabber:iq:last" |
const std::string | XMLNS_SEARCH = "jabber:iq:search" |
const std::string | XMLNS_IQ_OOB = "jabber:iq:oob" |
const std::string | XMLNS_X_DATA = "jabber:x:data" |
const std::string | XMLNS_X_EVENT = "jabber:x:event" |
const std::string | XMLNS_X_OOB = "jabber:x:oob" |
const std::string | XMLNS_X_DELAY = "jabber:x:delay" |
const std::string | XMLNS_X_GPGSIGNED = "jabber:x:signed" |
const std::string | XMLNS_X_GPGENCRYPTED = "jabber:x:encrypted" |
const std::string | XMLNS_VCARD_TEMP = "vcard-temp" |
const std::string | XMLNS_X_VCARD_UPDATE = "vcard-temp:x:update" |
const std::string | XMLNS_BOOKMARKS = "storage:bookmarks" |
const std::string | XMLNS_ANNOTATIONS = "storage:rosternotes" |
const std::string | XMLNS_ROSTER_DELIMITER = "roster:delimiter" |
const std::string | XMLNS_XMPP_PING = "urn:xmpp:ping" |
const std::string | XMLNS_SI = "http://jabber.org/protocol/si" |
const std::string | XMLNS_SI_FT = "http://jabber.org/protocol/si/profile/file-transfer" |
const std::string | XMLNS_BYTESTREAMS = "http://jabber.org/protocol/bytestreams" |
const std::string | XMLNS_MUC = "http://jabber.org/protocol/muc" |
const std::string | XMLNS_MUC_USER = "http://jabber.org/protocol/muc#user" |
const std::string | XMLNS_MUC_ADMIN = "http://jabber.org/protocol/muc#admin" |
const std::string | XMLNS_MUC_UNIQUE = "http://jabber.org/protocol/muc#unique" |
const std::string | XMLNS_MUC_OWNER = "http://jabber.org/protocol/muc#owner" |
const std::string | XMLNS_MUC_ROOMINFO = "http://jabber.org/protocol/muc#roominfo" |
const std::string | XMLNS_MUC_ROOMS = "http://jabber.org/protocol/muc#rooms" |
const std::string | XMLNS_MUC_REQUEST = "http://jabber.org/protocol/muc#request" |
const std::string | XMLNS_PUBSUB = "http://jabber.org/protocol/pubsub" |
const std::string | XMLNS_PUBSUB_ERRORS = "http://jabber.org/protocol/pubsub#errors" |
const std::string | XMLNS_PUBSUB_EVENT = "http://jabber.org/protocol/pubsub#event" |
const std::string | XMLNS_PUBSUB_OWNER = "http://jabber.org/protocol/pubsub#owner" |
const std::string | XMLNS_CAPS = "http://jabber.org/protocol/caps" |
const std::string | XMLNS_FT_FASTMODE = "http://affinix.com/jabber/stream" |
const std::string | XMLNS_STREAM = "http://etherx.jabber.org/streams" |
const std::string | XMLNS_XMPP_STREAM = "urn:ietf:params:xml:ns:xmpp-streams" |
const std::string | XMLNS_XMPP_STANZAS = "urn:ietf:params:xml:ns:xmpp-stanzas" |
const std::string | XMLNS_STREAM_TLS = "urn:ietf:params:xml:ns:xmpp-tls" |
const std::string | XMLNS_STREAM_SASL = "urn:ietf:params:xml:ns:xmpp-sasl" |
const std::string | XMLNS_STREAM_BIND = "urn:ietf:params:xml:ns:xmpp-bind" |
const std::string | XMLNS_STREAM_SESSION = "urn:ietf:params:xml:ns:xmpp-session" |
const std::string | XMLNS_STREAM_IQAUTH = "http://jabber.org/features/iq-auth" |
const std::string | XMLNS_STREAM_IQREGISTER = "http://jabber.org/features/iq-register" |
const std::string | XMLNS_STREAM_COMPRESS = "http://jabber.org/features/compress" |
const std::string | XMLNS_HTTPBIND = "http://jabber.org/protocol/httpbind" |
const std::string | XMLNS_XMPP_BOSH = "urn:xmpp:xbosh" |
const std::string | XMLNS_RECEIPTS = "urn:xmpp:receipts" |
const std::string | XMLNS_NICKNAME = "http://jabber.org/protocol/nick" |
const std::string | XMLNS_JINGLE = "urn:xmpp:jingle:1" |
const std::string | XMLNS_JINGLE_ERRORS = "urn:xmpp:jingle:errors:1" |
const std::string | XMLNS_JINGLE_ICE_UDP = "urn:xmpp:jingle:transports:ice-udp:1" |
const std::string | XMLNS_JINGLE_FILE_TRANSFER = "urn:xmpp:jingle:apps:file-transfer:3" |
const std::string | XMLNS_JINGLE_FILE_TRANSFER_MULTI = "urn:xmpp:jingle:apps:file-transfer:multi" |
const std::string | XMLNS_SHIM = "http://jabber.org/protocol/shim" |
const std::string | XMLNS_ATTENTION = "urn:xmpp:attention:0" |
const std::string | XMLNS_STREAM_MANAGEMENT = "urn:xmpp:sm:3" |
const std::string | XMLNS_STANZA_FORWARDING = "urn:xmpp:forward:0" |
const std::string | XMLNS_MESSAGE_CARBONS = "urn:xmpp:carbons:2" |
const std::string | XMLNS_HASHES = "urn:xmpp:hashes:1" |
const std::string | XMLNS_IODATA = "urn:xmpp:tmp:io-data" |
const std::string | XMLNS_CLIENT_STATE_INDICATION = "urn:xmpp:csi:0" |
const std::string | XMPP_STREAM_VERSION_MAJOR = "1" |
const std::string | XMPP_STREAM_VERSION_MINOR = "0" |
const std::string | GLOOX_VERSION = "1.0.28" |
const std::string | GLOOX_CAPS_NODE = "http://camaya.net/gloox" |
const std::string | XMLNS = "xmlns" |
const std::string | TYPE = "type" |
const std::string | EmptyString = "" |
GLOOX_API const std::string | XMLNS_JABBER_RPC |
const char * | historyTypeValues [] |
The namespace for the gloox library.
typedef std::list<AnnotationsListItem> AnnotationsList |
A list of note items.
Definition at line 40 of file annotationshandler.h.
typedef std::list<BookmarkListItem> BookmarkList |
A list of URL items.
Definition at line 50 of file bookmarkhandler.h.
typedef std::list<ConferenceListItem> ConferenceList |
A list of conference items.
Definition at line 55 of file bookmarkhandler.h.
typedef std::list<const Tag*> ConstTagList |
typedef std::list<MUCListItem> MUCListItemList |
A list of MUCListItems.
Definition at line 131 of file mucroomconfighandler.h.
typedef std::map<const std::string, RosterItem*> Roster |
A map of JID/RosterItem pairs.
Definition at line 31 of file rosterlistener.h.
typedef std::list<const SearchFieldStruct*> SearchResultList |
A list of directory entries returned by a search.
Definition at line 134 of file searchhandler.h.
typedef std::list<const StanzaExtension*> StanzaExtensionList |
typedef std::list<StreamHost> StreamHostList |
A list of StreamHosts.
Definition at line 43 of file socks5bytestreammanager.h.
typedef std::list<std::string> StringList |
typedef std::map<std::string, std::string> StringMap |
typedef std::multimap<std::string, std::string> StringMultiMap |
typedef std::list<std::string*> StringPList |
enum AuthenticationError |
Describes the defined SASL (and non-SASL) error conditions.
Enumerator | |
---|---|
AuthErrorUndefined | No error occurred, or error condition is unknown. |
SaslAborted | The receiving entity acknowledges an <abort/> element sent by the initiating entity; sent in reply to the <abort/> element. |
SaslIncorrectEncoding | The data provided by the initiating entity could not be processed because the [BASE64] encoding is incorrect (e.g., because the encoding does not adhere to the definition in Section 3 of [BASE64]); sent in reply to a <response/> element or an <auth/> element with initial response data. |
SaslInvalidAuthzid | The authzid provided by the initiating entity is invalid, either because it is incorrectly formatted or because the initiating entity does not have permissions to authorize that ID; sent in reply to a <response/> element or an <auth/> element with initial response data. |
SaslInvalidMechanism | The initiating entity did not provide a mechanism or requested a mechanism that is not supported by the receiving entity; sent in reply to an <auth/> element. |
SaslMalformedRequest | The request is malformed (e.g., the <auth/> element includes an initial response but the mechanism does not allow that); sent in reply to an <abort/>, <auth/>, <challenge/>, or <response/> element. |
SaslMechanismTooWeak | The mechanism requested by the initiating entity is weaker than server policy permits for that initiating entity; sent in reply to a <response/> element or an <auth/> element with initial response data. |
SaslNotAuthorized | The authentication failed because the initiating entity did not provide valid credentials (this includes but is not limited to the case of an unknown username); sent in reply to a <response/> element or an <auth/> element with initial response data. |
SaslTemporaryAuthFailure | The authentication failed because of a temporary error condition within the receiving entity; sent in reply to an <auth/> element or <response/> element. |
NonSaslConflict | |
NonSaslNotAcceptable | XEP-0078: Required Information Not Provided |
NonSaslNotAuthorized | XEP-0078: Incorrect Credentials |
enum CertStatus |
Describes the possible 'available presence' types. Describes the verification results of a certificate.
enum ChatStateType |
The possible Chat States according to XEP-0085.
enum ConnectionError |
This describes connection error conditions.
Enumerator | |
---|---|
ConnNoError | Not really an error. Everything went just fine. |
ConnStreamError | A stream error occured. The stream has been closed. Use ClientBase::streamError() to find the reason. |
ConnStreamVersionError | The incoming stream's version is not supported |
ConnStreamClosed | The stream has been closed (by the server). |
ConnProxyAuthRequired | The HTTP/SOCKS5 proxy requires authentication.
|
ConnProxyAuthFailed | HTTP/SOCKS5 proxy authentication failed.
|
ConnProxyNoSupportedAuth | The HTTP/SOCKS5 proxy requires an unsupported auth mechanism.
|
ConnIoError | An I/O error occured. |
ConnParseError | An XML parse error occurred. |
ConnConnectionRefused | The connection was refused by the server (on the socket level).
|
ConnDnsError | Resolving the server's hostname failed.
|
ConnOutOfMemory | Out of memory. Uhoh. |
ConnNoSupportedAuth | The auth mechanisms the server offers are not supported or the server offered no auth mechanisms at all. |
ConnTlsFailed | The server's certificate could not be verified or the TLS handshake did not complete successfully. |
ConnTlsNotAvailable | The server didn't offer TLS while it was set to be required, or TLS was not compiled in.
|
ConnCompressionFailed | Negotiating/initializing compression failed.
|
ConnAuthenticationFailed | Authentication failed. Username/password wrong or account does not exist. Use ClientBase::authError() to find the reason. |
ConnUserDisconnected | The user (or higher-level protocol) requested a disconnect. |
ConnNotConnected | There is no active connection. |
enum ConnectionState |
Describes the possible results of a message retrieval or deletion request.
Enumerator | |
---|---|
FomrRemoveSuccess | Message(s) were removed successfully. |
FomrRequestSuccess | Message(s) were fetched successfully. |
FomrForbidden | The requester is a JID other than an authorized resource of the user. Something wnet serieously wrong |
FomrItemNotFound | The requested node (message ID) does not exist. |
FomrUnknownError | An error occurred which is not specified in XEP-0013. |
Definition at line 26 of file flexoffhandler.h.
enum FormType |
Describes the possible Form Types.
Enumerator | |
---|---|
TypeForm | The forms-processing entity is asking the forms-submitting entity to complete a form. |
TypeSubmit | The forms-submitting entity is submitting data to the forms-processing entity. |
TypeCancel | The forms-submitting entity has cancelled submission of data to the forms-processing entity. |
TypeResult | The forms-processing entity is returning data (e.g., search results) to the forms-submitting entity, or the data is a generic data set. |
TypeInvalid | The form is invalid. Only possible if the form was created from an Tag which doesn't correctly describe a Data Form. |
Definition at line 33 of file dataform.h.
enum LogArea |
Identifies log sources.
Enumerator | |
---|---|
LogAreaClassParser | Log messages from Parser. |
LogAreaClassConnectionTCPBase | Log messages from ConnectionTCPBase. |
LogAreaClassClient | Log messages from Client. |
LogAreaClassClientbase | Log messages from ClientBase. |
LogAreaClassComponent | Log messages from Component. |
LogAreaClassDns | Log messages from DNS. |
LogAreaClassConnectionHTTPProxy | Log messages from ConnectionHTTPProxy |
LogAreaClassConnectionSOCKS5Proxy | Log messages from ConnectionSOCKS5Proxy |
LogAreaClassConnectionTCPClient | Log messages from ConnectionTCPClient. |
LogAreaClassConnectionTCPServer | Log messages from ConnectionTCPServer. |
LogAreaClassS5BManager | Log messages from SOCKS5BytestreamManager. |
LogAreaClassSOCKS5Bytestream | Log messages from SOCKS5Bytestream. |
LogAreaClassConnectionBOSH | Log messages from ConnectionBOSH |
LogAreaClassConnectionTLS | Log messages from ConnectionTLS |
LogAreaLinkLocalManager | Log messages from LinkLocalManager |
LogAreaAllClasses | All log messages from all the classes. |
LogAreaXmlIncoming | Incoming XML. |
LogAreaXmlOutgoing | Outgoing XML. |
LogAreaUser | User-defined sources. |
LogAreaAll | All log sources. |
enum LogLevel |
enum MessageEventType |
The possible Message Events according to XEP-0022.
enum MessageSessionFilter |
enum MUCOperation |
Available operations on a room.
Definition at line 136 of file mucroomconfighandler.h.
enum MUCRoomAffiliation |
Defined MUC room affiliations. See XEP-0045 for default privileges.
enum MUCRoomFlag |
Configuration flags for a room.
enum MUCRoomRole |
Defined MUC room roles. See XEP-0045 for default privileges.
enum MUCUserFlag |
Configuration flags for a user.
enum PrivacyListResult |
The possible results of an operation on a privacy list.
Definition at line 29 of file privacylisthandler.h.
enum RegistrationResult |
Possible results of a XEP-0077 operation.
Enumerator | |
---|---|
RegistrationSuccess | The last operation (account registration, account deletion or password change) was successful. |
RegistrationNotAcceptable | 406: Not all necessary information provided |
RegistrationConflict | 409: Username alreday exists. |
RegistrationNotAuthorized | Account removal: Unregistered entity waits too long before authentication or performs tasks other than authentication after registration. |
RegistrationBadRequest | Account removal: The <remove/> element was not the only child element of the <query/> element. Should not happen when only gloox functions are being used. |
RegistrationForbidden | Account removal: The sender does not have sufficient permissions to cancel the registration. |
RegistrationRequired | Account removal: The entity sending the remove request was not previously registered. |
RegistrationUnexpectedRequest | Account removal: The host is an instant messaging server and the IQ get does not contain a 'from' address because the entity is not registered with the server. |
RegistrationNotAllowed | Password change: The server or service does not allow password changes. |
RegistrationConstraint | Resource constraint: The server or recipient lacks the system resources necessary to service the request,for example if users are not allowed to register accounts so quickly. |
RegistrationUnknownError | An unknown error condition occured. |
Definition at line 32 of file registrationhandler.h.
enum ResourceBindError |
enum SaslMechanism |
Supported SASL mechanisms.
enum SearchFieldEnum |
enum SessionCreateError |
Describes the possible error conditions for session establishemnt.
enum StanzaError |
Describes the defined stanza error conditions of RFC 3920. Used by, eg., Stanza::error().
Enumerator | |
---|---|
StanzaErrorBadRequest | The sender has sent XML that is malformed or that cannot be processed (e.g., an IQ stanza that includes an unrecognized value of the 'type' attribute); the associated error type SHOULD be "modify". |
StanzaErrorConflict | Access cannot be granted because an existing resource or session exists with the same name or address; the associated error type SHOULD be "cancel". |
StanzaErrorFeatureNotImplemented | The feature requested is not implemented by the recipient or server and therefore cannot be processed; the associated error type SHOULD be "cancel". |
StanzaErrorForbidden | The requesting entity does not possess the required permissions to perform the action; the associated error type SHOULD be "auth". |
StanzaErrorGone | The recipient or server can no longer be contacted at this address (the error stanza MAY contain a new address in the XML character data of the <gone/> element); the associated error type SHOULD be "modify". |
StanzaErrorInternalServerError | The server could not process the stanza because of a misconfiguration or an otherwise-undefined internal server error; the associated error type SHOULD be "wait". |
StanzaErrorItemNotFound | The addressed JID or item requested cannot be found; the associated error type SHOULD be "cancel". |
StanzaErrorJidMalformed | The sending entity has provided or communicated an XMPP address (e.g., a value of the 'to' attribute) or aspect thereof (e.g., a resource identifier) that does not adhere to the syntax defined in Addressing Scheme (Section 3); the associated error type SHOULD be "modify". |
StanzaErrorNotAcceptable | The recipient or server understands the request but is refusing to process it because it does not meet criteria defined by the recipient or server (e.g., a local policy regarding acceptable words in messages); the associated error type SHOULD be "modify". |
StanzaErrorNotAllowed | The recipient or server does not allow any entity to perform the action; the associated error type SHOULD be "cancel". |
StanzaErrorNotAuthorized | The sender must provide proper credentials before being allowed to perform the action, or has provided impreoper credentials; the associated error type should be "auth". |
StanzaErrorNotModified | The item requested has not changed since it was last requested; the associated error type SHOULD be "continue". |
StanzaErrorPaymentRequired | The requesting entity is not authorized to access the requested service because payment is required; the associated error type SHOULD be "auth". |
StanzaErrorRecipientUnavailable | The intended recipient is temporarily unavailable; the associated error type SHOULD be "wait" (note: an application MUST NOT return this error if doing so would provide information about the intended recipient's network availability to an entity that is not authorized to know such information). |
StanzaErrorRedirect | The recipient or server is redirecting requests for this information to another entity, usually temporarily (the error stanza SHOULD contain the alternate address, which MUST be a valid JID, in the XML character data of the <redirect/> element); the associated error type SHOULD be "modify". |
StanzaErrorRegistrationRequired | The requesting entity is not authorized to access the requested service because registration is required; the associated error type SHOULD be "auth". |
StanzaErrorRemoteServerNotFound | A remote server or service specified as part or all of the JID of the intended recipient does not exist; the associated error type SHOULD be "cancel". |
StanzaErrorRemoteServerTimeout | A remote server or service specified as part or all of the JID of the intended recipient (or required to fulfill a request) could not be contacted within a reasonable amount of time; the associated error type SHOULD be "wait". |
StanzaErrorResourceConstraint | The server or recipient lacks the system resources necessary to service the request; the associated error type SHOULD be "wait". |
StanzaErrorServiceUnavailable | The server or recipient does not currently provide the requested service; the associated error type SHOULD be "cancel". |
StanzaErrorSubscribtionRequired | The requesting entity is not authorized to access the requested service because a subscription is required; the associated error type SHOULD be "auth". |
StanzaErrorUndefinedCondition | The error condition is not one of those defined by the other conditions in this list; any error type may be associated with this condition, and it SHOULD be used only in conjunction with an application-specific condition. |
StanzaErrorUnexpectedRequest | The recipient or server understood the request but was not expecting it at this time (e.g., the request was out of order); the associated error type SHOULD be "wait". |
StanzaErrorUnknownSender | The stanza 'from' address specified by a connected client is not valid for the stream (e.g., the stanza does not include a 'from' address when multiple resources are bound to the stream); the associated error type SHOULD be "modify". |
StanzaErrorUndefined | No stanza error occured. |
enum StanzaErrorType |
Describes types of stanza errors.
enum StanzaExtensionType |
Supported Stanza extension types.
Enumerator | |
---|---|
ExtNone | Invalid StanzaExtension. |
ExtVCardUpdate | Extension in the vcard-temp:x:update namespace, advertising a user avatar's SHA1 hash (XEP-0153). |
ExtOOB | An extension in the jabber:iq:oob or jabber:x:oob namespaces (XEP-0066). |
ExtGPGSigned | An extension containing a GPG/PGP signature (XEP-0027). |
ExtGPGEncrypted | An extension containing a GPG/PGP encrypted message (XEP-0027). |
ExtReceipt | An extension containing a Message Receipt/Request (XEP-0184). |
ExtDelay | An extension containing notice of delayed delivery (XEP-0203 & XEP-0091). |
ExtAMP | An extension containing advanced message processing rules (XEP-0079). |
ExtError | An extension containing an error. |
ExtCaps | An extension containing Entity Capabilities (XEP-0115). |
ExtChatState | An extension containing a chat state (XEP-0085). |
ExtMessageEvent | An extension containing a message event (XEP-0022). |
ExtDataForm | An extension containing a Data Form (XEP-0004). |
ExtNickname | |
ExtResourceBind | A resource bind SE (RFC3921). |
ExtSessionCreation | A session establishing SE (RFC3921). |
ExtVersion | An extension containing a Version request/reply (XEP-0092). |
ExtXHtmlIM | An extension containing an XHTML message representation (XEP-0071) |
ExtDiscoInfo | An extension containing a disco::info element (XEP-0030). |
ExtDiscoItems | An extension containing a disco::items element (XEP-0030). |
ExtAdhocCommand | |
ExtPrivateXML | An extension used for Private XML Storage (XEP-0048). |
ExtRoster | An extension dealing with the user's roster (RFC-3921). |
ExtFeatureNeg | An extension abstracting a Feature Negotiation element (XEP-0020). |
ExtIBB | An extension dealing with IBBs (XEP-0047). |
ExtNonSaslAuth | An extension for doing Non-SASL Authentication (XEP-0078). |
ExtMUC | An extension dealing with the muc namespace of XEP-0045. |
ExtMUCOwner | An extension dealing with the muc::owner namespace of XEP-0045. |
ExtMUCAdmin | An extension dealing with the muc::admin namespace of XEP-0045. |
ExtMUCUser | An extension dealing with the muc::user namespace of XEP-0045. |
ExtMUCUnique | An extension dealing with the muc::unique namespace of XEP-0045. |
ExtPing | An XMPP Ping (XEP-0199). |
ExtSearch | |
ExtRegistration | A XEP-0077 (In-Band Registration) wrapper. |
ExtJingle | |
ExtVCard | An extension dealing with vcard-temp (XEP-0054) |
ExtPrivacy | An extension dealing with Privacy Lists (XEP-0016) |
ExtLastActivity | An extension dealing with Last Activity (XEP-0012). |
ExtFlexOffline | An extension dealing with Flexible Offline Messages (XEP-0013). |
ExtSI | An extension dealing with Stream Initiation (XEP-0095). |
ExtS5BQuery | An extension dealing with stream host offers (XEP-0065) |
ExtPubSub | |
ExtPubSubOwner | |
ExtPubSubEvent | |
ExtSHIM | An extension dealing with Stanza Headers and Internet Metadata (XEP-0131). |
ExtAttention | |
ExtForward | |
ExtCarbons | |
ExtIOData | An extension dealing with IO Data (XEP-0244) (though the IOData extension is not actually used as/meant to be a StanzaExtension. |
ExtUser | User-supplied extensions must use IDs above this. Do not hard-code ExtUser's value anywhere, it is subject to change. |
Definition at line 30 of file stanzaextension.h.
enum StreamError |
This describes stream error conditions as defined in RFC 3920 Sec. 4.7.3.
Enumerator | |
---|---|
StreamErrorBadFormat | The entity has sent XML that cannot be processed; this error MAY be used instead of the more specific XML-related errors, such as <bad-namespace-prefix/>, <invalid-xml/>, <restricted-xml/>, <unsupported-encoding/>, and <not-well-formed/>, although the more specific errors are preferred. |
StreamErrorBadNamespacePrefix | The entity has sent a namespace prefix that is unsupported, or has sent no namespace prefix on an element that requires such a prefix (see XML Namespace Names and Prefixes (Section 11.2)). |
StreamErrorConflict | The server is closing the active stream for this entity because a new stream has been initiated that conflicts with the existing stream. |
StreamErrorConnectionTimeout | The entity has not generated any traffic over the stream for some period of time (configurable according to a local service policy). |
StreamErrorHostGone | the value of the 'to' attribute provided by the initiating entity in the stream header corresponds to a hostname that is no longer hosted by the server. |
StreamErrorHostUnknown | The value of the 'to' attribute provided by the initiating entity in the stream header does not correspond to a hostname that is hosted by the server. |
StreamErrorImproperAddressing | A stanza sent between two servers lacks a 'to' or 'from' attribute (or the attribute has no value). |
StreamErrorInternalServerError | the server has experienced a misconfiguration or an otherwise-undefined internal error that prevents it from servicing the stream. |
StreamErrorInvalidFrom | The JID or hostname provided in a 'from' address does not match an authorized JID or validated domain negotiated between servers via SASL or dialback, or between a client and a server via authentication and resource binding. |
StreamErrorInvalidId | The stream ID or dialback ID is invalid or does not match an ID previously provided. |
StreamErrorInvalidNamespace | The streams namespace name is something other than "http://etherx.jabber.org/streams" or the dialback namespace name is something other than "jabber:server:dialback" (see XML Namespace Names and Prefixes (Section 11.2)). |
StreamErrorInvalidXml | The entity has sent invalid XML over the stream to a server that performs validation (see Validation (Section 11.3)). |
StreamErrorNotAuthorized | The entity has attempted to send data before the stream has been authenticated, or otherwise is not authorized to perform an action related to stream negotiation; the receiving entity MUST NOT process the offending stanza before sending the stream error. |
StreamErrorPolicyViolation | The entity has violated some local service policy; the server MAY choose to specify the policy in the <text/> element or an application-specific condition element. |
StreamErrorRemoteConnectionFailed | The server is unable to properly connect to a remote entity that is required for authentication or authorization. |
StreamErrorResourceConstraint | the server lacks the system resources necessary to service the stream. |
StreamErrorRestrictedXml | The entity has attempted to send restricted XML features such as a comment, processing instruction, DTD, entity reference, or unescaped character (see Restrictions (Section 11.1)). |
StreamErrorSeeOtherHost | The server will not provide service to the initiating entity but is redirecting traffic to another host; the server SHOULD specify the alternate hostname or IP address (which MUST be a valid domain identifier) as the XML character data of the <see-other-host/> element. |
StreamErrorSystemShutdown | The server is being shut down and all active streams are being closed. |
StreamErrorUndefinedCondition | The error condition is not one of those defined by the other conditions in this list; this error condition SHOULD be used only in conjunction with an application-specific condition. |
StreamErrorUnsupportedEncoding | The initiating entity has encoded the stream in an encoding that is not supported by the server (see Character Encoding (Section 11.5)). |
StreamErrorUnsupportedStanzaType | The initiating entity has sent a first-level child of the stream that is not supported by the server. |
StreamErrorUnsupportedVersion | The value of the 'version' attribute provided by the initiating entity in the stream header specifies a version of XMPP that is not supported by the server; the server MAY specify the version(s) it supports in the <text/> element. |
StreamErrorXmlNotWellFormed | The initiating entity has sent XML that is not well-formed as defined by [XML]. |
StreamErrorUndefined | An undefined/unknown error occured. Also used if a diconnect was user-initiated. Also set before and during a established connection (where obviously no error occured). |
enum StreamEvent |
Describes stream events that get emitted by means of ConnectionListener::onStreamEvent().
Enumerator | |
---|---|
StreamEventConnecting | The Client is about to initaite the connection. |
StreamEventEncryption | The Client is about to negotiate encryption. |
StreamEventCompression | The Client is about to negotiate compression. |
StreamEventAuthentication | The Client is about to authenticate. |
StreamEventSessionInit | The Client is about to create a session. |
StreamEventResourceBinding | The Client is about to bind a resource to the stream. |
StreamEventSMEnable | The Client is about to request Stream Management (XEP-0198).
|
StreamEventSMResume | The Client is about to request resumption by means of Stream Management (XEP-0198).
|
StreamEventSMResumed | The stream has successfully been resumed by means of Stream Management (XEP-0198).
|
StreamEventSMEnableFailed | The attempt to enable Stream Management (XEP-0198) failed. This is not critical.
|
StreamEventSMResumeFailed | The attempt to resume an aborted session by means of Stream Management (XEP-0198) failed. This is not critical.
|
StreamEventSessionCreation | The Client is about to create a session.
|
StreamEventRoster | The Client is about to request the roster. |
StreamEventFinished | The log-in phase is completed. |
enum StreamFeature |
Supported Stream Features.
Enumerator | |
---|---|
StreamFeatureBind | The server supports resource binding. |
StreamFeatureUnbind | The server supports binding multiple resources. |
StreamFeatureSession | The server supports sessions. |
StreamFeatureStartTls | The server supports <starttls>. |
StreamFeatureIqRegister | The server supports XEP-0077 (In-Band Registration). |
StreamFeatureIqAuth | The server supports XEP-0078 (Non-SASL Authentication). |
StreamFeatureCompressZlib | The server supports XEP-0138 (Stream Compression) (Zlib). |
StreamFeatureCompressDclz | The server supports XEP-0138 (Stream Compression) (LZW/DCLZ). |
StreamFeatureStreamManagement | The server supports XEP-0198 (Stream Management). |
StreamFeatureClientStateIndication |
enum SubscriptionType |
Describes possible subscription types according to RFC 3921, Section 9.
enum TLSPolicy |
ClientBase's policy regarding TLS usage. Use with ClientBase::setTls().
GLOOX_API const std::string EmptyString = "" |
GLOOX_API const std::string GLOOX_CAPS_NODE = "http://camaya.net/gloox" |
GLOOX_API const std::string GLOOX_VERSION = "1.0.28" |
const char* historyTypeValues[] |
Strings indicating the type of history to request.
Definition at line 48 of file mucroom.cpp.
GLOOX_API const std::string TYPE = "type" |
GLOOX_API const std::string XMLNS = "xmlns" |
GLOOX_API const std::string XMLNS_ADHOC_COMMANDS = "http://jabber.org/protocol/commands" |
GLOOX_API const std::string XMLNS_AMP = "http://jabber.org/protocol/amp" |
GLOOX_API const std::string XMLNS_ANNOTATIONS = "storage:rosternotes" |
Annotations namespace (XEP-0145)
GLOOX_API const std::string XMLNS_ATTENTION = "urn:xmpp:attention:0" |
GLOOX_API const std::string XMLNS_AUTH = "jabber:iq:auth" |
GLOOX_API const std::string XMLNS_BOOKMARKS = "storage:bookmarks" |
GLOOX_API const std::string XMLNS_BYTESTREAMS = "http://jabber.org/protocol/bytestreams" |
GLOOX_API const std::string XMLNS_CAPS = "http://jabber.org/protocol/caps" |
Entity Capabilities namespace (XEP-0115)
GLOOX_API const std::string XMLNS_CHAT_STATES = "http://jabber.org/protocol/chatstates" |
GLOOX_API const std::string XMLNS_CHATNEG = "http://jabber.org/protocol/chatneg" |
GLOOX_API const std::string XMLNS_CLIENT = "jabber:client" |
GLOOX_API const std::string XMLNS_CLIENT_STATE_INDICATION = "urn:xmpp:csi:0" |
GLOOX_API const std::string XMLNS_COMPONENT_ACCEPT = "jabber:component:accept" |
GLOOX_API const std::string XMLNS_COMPONENT_CONNECT = "jabber:component:connect" |
GLOOX_API const std::string XMLNS_COMPRESSION = "http://jabber.org/protocol/compress" |
GLOOX_API const std::string XMLNS_DELAY = "urn:xmpp:delay" |
GLOOX_API const std::string XMLNS_DISCO_INFO = "http://jabber.org/protocol/disco#info" |
GLOOX_API const std::string XMLNS_DISCO_ITEMS = "http://jabber.org/protocol/disco#items" |
GLOOX_API const std::string XMLNS_DISCO_PUBLISH = "http://jabber.org/protocol/disco#publish" |
GLOOX_API const std::string XMLNS_FEATURE_NEG = "http://jabber.org/protocol/feature-neg" |
GLOOX_API const std::string XMLNS_FT_FASTMODE = "http://affinix.com/jabber/stream" |
GLOOX_API const std::string XMLNS_HASHES = "urn:xmpp:hashes:1" |
GLOOX_API const std::string XMLNS_HTTPBIND = "http://jabber.org/protocol/httpbind" |
GLOOX_API const std::string XMLNS_IBB = "http://jabber.org/protocol/ibb" |
GLOOX_API const std::string XMLNS_IODATA = "urn:xmpp:tmp:io-data" |
GLOOX_API const std::string XMLNS_IQ_OOB = "jabber:iq:oob" |
|
extern |
Jabber RPC namespace (XEP-0009)
GLOOX_API const std::string XMLNS_JINGLE = "urn:xmpp:jingle:1" |
GLOOX_API const std::string XMLNS_JINGLE_ERRORS = "urn:xmpp:jingle:errors:1" |
GLOOX_API const std::string XMLNS_JINGLE_FILE_TRANSFER = "urn:xmpp:jingle:apps:file-transfer:3" |
GLOOX_API const std::string XMLNS_JINGLE_FILE_TRANSFER_MULTI = "urn:xmpp:jingle:apps:file-transfer:multi" |
GLOOX_API const std::string XMLNS_JINGLE_ICE_UDP = "urn:xmpp:jingle:transports:ice-udp:1" |
GLOOX_API const std::string XMLNS_LAST = "jabber:iq:last" |
GLOOX_API const std::string XMLNS_MESSAGE_CARBONS = "urn:xmpp:carbons:2" |
GLOOX_API const std::string XMLNS_MUC = "http://jabber.org/protocol/muc" |
GLOOX_API const std::string XMLNS_MUC_ADMIN = "http://jabber.org/protocol/muc#admin" |
GLOOX_API const std::string XMLNS_MUC_OWNER = "http://jabber.org/protocol/muc#owner" |
GLOOX_API const std::string XMLNS_MUC_REQUEST = "http://jabber.org/protocol/muc#request" |
GLOOX_API const std::string XMLNS_MUC_ROOMINFO = "http://jabber.org/protocol/muc#roominfo" |
GLOOX_API const std::string XMLNS_MUC_ROOMS = "http://jabber.org/protocol/muc#rooms" |
GLOOX_API const std::string XMLNS_MUC_UNIQUE = "http://jabber.org/protocol/muc#unique" |
GLOOX_API const std::string XMLNS_MUC_USER = "http://jabber.org/protocol/muc#user" |
GLOOX_API const std::string XMLNS_NICKNAME = "http://jabber.org/protocol/nick" |
GLOOX_API const std::string XMLNS_OFFLINE = "http://jabber.org/protocol/offline" |
GLOOX_API const std::string XMLNS_PRIVACY = "jabber:iq:privacy" |
GLOOX_API const std::string XMLNS_PRIVATE_XML = "jabber:iq:private" |
GLOOX_API const std::string XMLNS_PUBSUB = "http://jabber.org/protocol/pubsub" |
GLOOX_API const std::string XMLNS_PUBSUB_ERRORS = "http://jabber.org/protocol/pubsub#errors" |
GLOOX_API const std::string XMLNS_PUBSUB_EVENT = "http://jabber.org/protocol/pubsub#event" |
GLOOX_API const std::string XMLNS_PUBSUB_OWNER = "http://jabber.org/protocol/pubsub#owner" |
GLOOX_API const std::string XMLNS_RECEIPTS = "urn:xmpp:receipts" |
GLOOX_API const std::string XMLNS_REGISTER = "jabber:iq:register" |
In-Band Registration namespace (XEP-0077)
GLOOX_API const std::string XMLNS_ROSTER = "jabber:iq:roster" |
GLOOX_API const std::string XMLNS_ROSTER_DELIMITER = "roster:delimiter" |
GLOOX_API const std::string XMLNS_SEARCH = "jabber:iq:search" |
GLOOX_API const std::string XMLNS_SHIM = "http://jabber.org/protocol/shim" |
GLOOX_API const std::string XMLNS_SI = "http://jabber.org/protocol/si" |
GLOOX_API const std::string XMLNS_SI_FT = "http://jabber.org/protocol/si/profile/file-transfer" |
GLOOX_API const std::string XMLNS_STANZA_FORWARDING = "urn:xmpp:forward:0" |
GLOOX_API const std::string XMLNS_STREAM = "http://etherx.jabber.org/streams" |
GLOOX_API const std::string XMLNS_STREAM_BIND = "urn:ietf:params:xml:ns:xmpp-bind" |
GLOOX_API const std::string XMLNS_STREAM_COMPRESS = "http://jabber.org/features/compress" |
GLOOX_API const std::string XMLNS_STREAM_IQAUTH = "http://jabber.org/features/iq-auth" |
GLOOX_API const std::string XMLNS_STREAM_IQREGISTER = "http://jabber.org/features/iq-register" |
In-Band Registration namespace (XEP-0077)
GLOOX_API const std::string XMLNS_STREAM_MANAGEMENT = "urn:xmpp:sm:3" |
GLOOX_API const std::string XMLNS_STREAM_SASL = "urn:ietf:params:xml:ns:xmpp-sasl" |
GLOOX_API const std::string XMLNS_STREAM_SESSION = "urn:ietf:params:xml:ns:xmpp-session" |
GLOOX_API const std::string XMLNS_STREAM_TLS = "urn:ietf:params:xml:ns:xmpp-tls" |
GLOOX_API const std::string XMLNS_VCARD_TEMP = "vcard-temp" |
GLOOX_API const std::string XMLNS_VERSION = "jabber:iq:version" |
GLOOX_API const std::string XMLNS_X_DATA = "jabber:x:data" |
GLOOX_API const std::string XMLNS_X_DELAY = "jabber:x:delay" |
GLOOX_API const std::string XMLNS_X_EVENT = "jabber:x:event" |
GLOOX_API const std::string XMLNS_X_GPGENCRYPTED = "jabber:x:encrypted" |
GLOOX_API const std::string XMLNS_X_GPGSIGNED = "jabber:x:signed" |
GLOOX_API const std::string XMLNS_X_OOB = "jabber:x:oob" |
GLOOX_API const std::string XMLNS_X_VCARD_UPDATE = "vcard-temp:x:update" |
GLOOX_API const std::string XMLNS_XHTML_IM = "http://jabber.org/protocol/xhtml-im" |
GLOOX_API const std::string XMLNS_XMPP_BOSH = "urn:xmpp:xbosh" |
GLOOX_API const std::string XMLNS_XMPP_PING = "urn:xmpp:ping" |
GLOOX_API const std::string XMLNS_XMPP_STANZAS = "urn:ietf:params:xml:ns:xmpp-stanzas" |
GLOOX_API const std::string XMLNS_XMPP_STREAM = "urn:ietf:params:xml:ns:xmpp-streams" |
GLOOX_API const std::string XMPP_STREAM_VERSION_MAJOR = "1" |