Class
XemeInputStream
unstable since: 0.1
Description [src]
class Xeme.InputStream : Xeme.Stream
{
/* No available fields */
}
An object that handles the incoming stream from a remote connection.
Available 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.
unstable since: 0.1
xeme_input_stream_restart_requested
Emits the XemeInputStream::restart-requested
signal.
unstable 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
.
unstable since: 0.1
Methods inherited from XemeStream (11)
xeme_stream_get_cancellable
Gets the cancellable that stream
is using.
unstable since: 0.1
xeme_stream_get_from
Gets the bare jid of the local side of stream
.
unstable since: 0.1
xeme_stream_get_id
Gets the identifier for stream
.
unstable since: 0.1
xeme_stream_get_language
Gets the language that stream
is using.
unstable since: 0.1
xeme_stream_get_to
Gets the bare jid of the remote side of stream
.
unstable since: 0.1
xeme_stream_get_version
Gets the XMPP version for the stream.
unstable since: 0.1
xeme_stream_set_from
Sets the bare jid for the local side of stream
.
unstable since: 0.1
xeme_stream_set_id
Sets the identifier for stream
.
unstable 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.
unstable since: 0.1
xeme_stream_set_to
Sets the bare jid for the remote side of stream
.
unstable since: 0.1
xeme_stream_set_version
Sets the XMPP version for stream
.
unstable since: 0.1
Properties
Xeme.InputStream:output-stream
The output stream that should be used for requests and responses.
unstable since: 0.1
Properties inherited from XemeStream (6)
Xeme.Stream:cancellable
The cancellable for this stream.
unstable since: 0.1
Xeme.Stream:from
The bare jid of the local side of this stream.
unstable since: 0.1
Xeme.Stream:id
The identifier of the stream.
unstable since: 0.1
Xeme.Stream:language
The language for this stream.
unstable since: 0.1
Xeme.Stream:to
The bare jid of the remote side of this stream.
unstable since: 0.1
Xeme.Stream:version
The XMPP version for this stream.
unstable since: 0.1
Signals
Xeme.InputStream::restart-requested
Emitted when the remote side has requested that the output stream be restarted.
unstable 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.