Navigation
API > API/Runtime > API/Runtime/XMPP
Xmpp stanza abstract interface Exposes getters for various attributes and fields of an Xmpp stanza
| Name | IXmppStanza |
| Type | class |
| Header File | /Engine/Source/Runtime/Online/XMPP/Public/XmppStanza.h |
| Include Path | #include "XmppStanza.h" |
Syntax
class IXmppStanza
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IXmppStanza() |
XmppStanza.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString GetAttribute
(
const FString& Key |
Get Stanza attribute | XmppStanza.h | |
TOptional< FString > GetBodyText() |
Get stanza body text (if any) | XmppStanza.h | |
TUniquePtr< IXmppStanza > GetChild
(
const FString& ChildName |
Get given Stanza child, if existing | XmppStanza.h | |
FXmppUserJid GetFrom() |
Get Stanza from (source) user Jid | XmppStanza.h | |
FString GetId() |
Get Stanza Id | XmppStanza.h | |
FString GetName() |
Get Stanza type (presence, query, message) | XmppStanza.h | |
FString GetText() |
Get Stanza text (concatenates all child text nodes) | XmppStanza.h | |
FXmppUserJid GetTo() |
Get Stanza to (destination) user Jid | XmppStanza.h | |
FString GetType() |
Get Stanza type | XmppStanza.h | |
bool HasAttribute
(
const FString& Key |
Returns whether or not stanza has a given attribute | XmppStanza.h | |
bool HasChild
(
const FString& ChildName |
Whether or not Stanza has a given child | XmppStanza.h |