Class

XemeConnection

since: 0.1

Description [src]

final class Xeme.Connection : GObject.Object {
  /* No available fields */
}

A client to server connection.

This object manages the connection to the server, handles feature negotiation including STARTTLS, stream restarts, and other things that are part of XMPP Core.

Available since: 0.1

Ancestors

Constructors

xeme_connection_new

Creates a new connection.

since: 0.1

Instance methods

xeme_connection_close

Attempts to close the connection.

since: 0.1

xeme_connection_connect_async

Starts the connection process.

since: 0.1

xeme_connection_connect_finish

Finishes a previous call to xeme_connection_connect_async().

since: 0.1

xeme_connection_get_cancellable

Gets the GCancellable for connection.

since: 0.1

xeme_connection_get_jid

Gets the bare JID from connection.

since: 0.1

xeme_connection_get_port

Gets the port from connection.

since: 0.1

xeme_connection_get_resource

Gets the resource from connection.

since: 0.1

xeme_connection_get_server

Gets the explicit server that connection should connect to.

since: 0.1

xeme_connection_get_tls_mode

Gets the XemeTlsMode from connection.

since: 0.1

xeme_connection_set_port

Sets the port to use for connection to port.

since: 0.1

xeme_connection_set_resource

Sets the resource of connection to resource.

since: 0.1

xeme_connection_set_server

Sets the explicit server to connect to.

since: 0.1

xeme_connection_set_tls_mode

Sets the XemeTlsMode of connection to tls_mode.

since: 0.1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Xeme.Connection:jid

The “Jabber ID” which this connection originates from.

since: 0.1

Xeme.Connection:port

The explicit port to use.

since: 0.1

Xeme.Connection:resource

The “resource” for the originator of this connection.

since: 0.1

Xeme.Connection:server

An explicit server to connect to.

since: 0.1

Xeme.Connection:tls-mode

The TLS mode to use for this connection.

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