Class

XemeOutputStream

since: 0.1

Description [src]

final class Xeme.OutputStream : Xeme.Stream {
  /* No available fields */
}

An XMPP output stream. This is used to send stanzas to the other end of the connection.

Available since: 0.1

Ancestors

Constructors

xeme_output_stream_new

Creates a new output stream.

since: 0.1

Instance methods

xeme_output_stream_restart

Restarts the stream per RFC 6120 4.3.3.

since: 0.1

xeme_output_stream_start

Initiates output as an outgoing XMPP stream. It is the responsibility of the caller to establish any necessary connections as this writes raw XMPP data to output.

since: 0.1

xeme_output_stream_stop

Stops the stream by sending the ending </stream> if possible and then closes the output stream.

since: 0.1

Methods inherited from XemeStream (11)
xeme_stream_get_cancellable

Gets the cancellable that stream is using.

since: 0.1

xeme_stream_get_from

Gets the bare jid of the local side of stream.

since: 0.1

xeme_stream_get_id

Gets the identifier for stream.

since: 0.1

xeme_stream_get_language

Gets the language that stream is using.

since: 0.1

xeme_stream_get_to

Gets the bare jid of the remote side of stream.

since: 0.1

xeme_stream_get_version

Gets the XMPP version for the stream.

since: 0.1

xeme_stream_set_from

Sets the bare jid for the local side of stream.

since: 0.1

xeme_stream_set_id

Sets the identifier for stream.

since: 0.1

xeme_stream_set_language

Sets the language of stream to language. This is only really useful before the stream is started but will be populated if the remote side sends it.

since: 0.1

xeme_stream_set_to

Sets the bare jid for the remote side of stream.

since: 0.1

xeme_stream_set_version

Sets the XMPP version for stream.

since: 0.1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from XemeStream (6)
Xeme.Stream:cancellable

The cancellable for this stream.

since: 0.1

Xeme.Stream:from

The bare jid of the local side of this stream.

since: 0.1

Xeme.Stream:id

The identifier of the stream.

since: 0.1

Xeme.Stream:language

The language for this stream.

since: 0.1

Xeme.Stream:to

The bare jid of the remote side of this stream.

since: 0.1

Xeme.Stream:version

The XMPP version for this stream.

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 XemeOutputStreamClass {
  XemeStreamClass parent_class;
  
}
No description available.
Class members
parent_class: XemeStreamClass
No description available.