Xmpp stanza abstract interface Exposes getters for various attributes and fields of an Xmpp stanza 更多...
#include <XmppStanza.h>
Public 成员函数 | |
| virtual FString | GetAttribute (const FString &Key) const =0 |
| Get Stanza attribute 更多... | |
| virtual TOptional< FString > | GetBodyText () const =0 |
| Get stanza body text (if any) 更多... | |
| virtual TUniquePtr< IXmppStanza > | GetChild (const FString &ChildName) const =0 |
| Get given Stanza child, if existing 更多... | |
| virtual FXmppUserJid | GetFrom () const =0 |
| Get Stanza from (source) user Jid 更多... | |
| virtual FString | GetId () const =0 |
| Get Stanza Id 更多... | |
| virtual FString | GetName () const =0 |
| Get Stanza type (presence, query, message) 更多... | |
| virtual FString | GetText () const =0 |
| Get Stanza text (concatenates all child text nodes) 更多... | |
| virtual FXmppUserJid | GetTo () const =0 |
| Get Stanza to (destination) user Jid 更多... | |
| virtual FString | GetType () const =0 |
| Get Stanza type 更多... | |
| virtual bool | HasAttribute (const FString &Key) const =0 |
| Returns whether or not stanza has a given attribute 更多... | |
| virtual bool | HasChild (const FString &ChildName) const =0 |
| Whether or not Stanza has a given child 更多... | |
Xmpp stanza abstract interface Exposes getters for various attributes and fields of an Xmpp stanza
Get Stanza attribute
| Key | attribute name |
Get stanza body text (if any)
|
pure virtual |
Get given Stanza child, if existing
| ChildName | name of child to return |
|
pure virtual |
Get Stanza from (source) user Jid
|
pure virtual |
Get Stanza Id
|
pure virtual |
Get Stanza type (presence, query, message)
|
pure virtual |
Get Stanza text (concatenates all child text nodes)
|
pure virtual |
Get Stanza to (destination) user Jid
|
pure virtual |
Get Stanza type
|
pure virtual |
Returns whether or not stanza has a given attribute
| Key | attribute name |
|
pure virtual |
Whether or not Stanza has a given child
| ChildName | name of child to check for |