Class

XemeInputStream

since: 0.1

Description [src]

class Xeme.InputStream : Xeme.Stream {
  parent_instance: XemeStream
}

An object that handles the incoming stream from a remote connection.

Available since: 0.1

Ancestors

Constructors

xeme_input_stream_new

Creates a new input stream.

since: 0.1

Instance methods

xeme_input_stream_get_output_stream

Gets the XemeOutputStream that should be used for requests and responses with the remote end of the connection.

since: 0.1

xeme_input_stream_restart_requested

Emits the XemeInputStream::restart-requested signal.

since: 0.1

xeme_input_stream_start

Starts processing input as an incoming XMPP stream. It is the responsibility of the caller to establish any necessary connections as this just processes the raw XMPP data from input.

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

Xeme.InputStream:output-stream

The output stream that should be used for requests and responses.

since: 0.1

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

Xeme.InputStream::closed

Emitted when the input stream is closed.

since: 0.1

Xeme.InputStream::restart-requested

Emitted when the remote side has requested that the output stream be restarted.

since: 0.1

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 XemeInputStreamClass {
  /* no available fields */
}
No description available.