Class

XemeStanza

since: 0.1

Description [src]

class Xeme.Stanza : GObject.Object {
  parent_instance: GObject
}

The base class for XMPP stanzas including Message, IQ, and Presence.

Available since: 0.1

Ancestors

Descendants

Instance methods

xeme_stanza_get_content_type

Gets the content type of stanza.

since: 0.1

xeme_stanza_get_from

Gets the sender of stanza.

since: 0.1

xeme_stanza_get_id

Gets the id of stanza.

since: 0.1

xeme_stanza_get_to

Gets the recipient of stanza.

since: 0.1

xeme_stanza_get_xml_lang

Gets the XML Lang of stanza.

since: 0.1

xeme_stanza_marshal

Marshals stanza into a string. If there is an error error will be set and NULL will be returned.

since: 0.1

xeme_stanza_marshal_attributes

Marshals the common attributes: id, to, from, type, and xml:lang to a string.

since: 0.1

xeme_stanza_set_content_type

Sets the content type of stanza.

since: 0.1

xeme_stanza_set_from

Sets the sender of stanza.

since: 0.1

xeme_stanza_set_id

Sets the identifier of stanza.

since: 0.1

xeme_stanza_set_to

Sets the recipient of stanza.

since: 0.1

xeme_stanza_set_xml_lang

Sets the XML Lang of stanza.

since: 0.1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Xeme.Stanza:content-type

The content type of this stanza.

since: 0.1

Xeme.Stanza:from

The sender of this stanza.

since: 0.1

Xeme.Stanza:id

The identifier of this stanza.

since: 0.1

Xeme.Stanza:to

The recipient of this stanza.

since: 0.1

Xeme.Stanza:xml-lang

The XML Lang value for this stanza.

since: 0.1

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct XemeStanzaClass {
  char* (* marshal) (
    XemeStanza* stanza,
    GError** error
  );
  
}
No description available.
Class members
marshal: char* (* marshal) ( XemeStanza* stanza, GError** error )
No description available.

Virtual methods

Xeme.StanzaClass.marshal

Marshals stanza into a string. If there is an error error will be set and NULL will be returned.

since: 0.1