gloox
1.0
|
#include <resource.h>
Public Member Functions | |
Resource (int priority, const std::string &msg, Presence::PresenceType presence) | |
virtual | ~Resource () |
int | priority () const |
const std::string & | message () const |
Presence::PresenceType | presence () const |
const StanzaExtensionList & | extensions () const |
Holds resource attributes.
This holds the information of a single resource of a contact that is online.
Definition at line 35 of file resource.h.
|
inline |
Constructor.
priority | The resource's priority. |
msg | The resource's status message. |
presence | The resource's presence status. |
Definition at line 47 of file resource.h.
|
inlinevirtual |
Virtual destrcutor.
Definition at line 53 of file resource.h.
|
inline |
Returns the StanzaExtensions that were sent with the last presence stanza by the resource.
Definition at line 81 of file resource.h.
|
inline |
Lets you fetch the resource's status message.
Definition at line 68 of file resource.h.
|
inline |
Lets you fetch the resource's last presence.
Definition at line 74 of file resource.h.
|
inline |
Lets you fetch the resource's priority.
Definition at line 62 of file resource.h.