Class

IbisCapabilities

since: 0.1

Description [src]

final class Ibis.Capabilities : GObject.Object
{
  /* No available fields */
}

A object that handles capability negotiation.

Available since: 0.1

Ancestors

Constructors

ibis_capabilities_new

Creates a new capabilities object.

since: 0.1

Instance methods

ibis_capabilities_add_wait

Adds a wait counter to capabilities. This counter is used to delay the call of CAP END until all capability negotiation has completed. This is necessary for SASL and may be necessary for other capabilities as well.

since: 0.1

ibis_capabilities_lookup

Gets the value that the name capability provided if it was advertised. To determine if the capability was advertised use the found parameter.

since: 0.1

ibis_capabilities_lookup_and_request

A helper function to call ibis_capabilities_lookup() and if found, call ibis_capabilities_request().

since: 0.1

ibis_capabilities_remove_wait

Removes a wait counter from capabilities. Only when this counter reaches 0, will CAP END be called and registration completed.

since: 0.1

ibis_capabilities_request

This method will send CAP REQcapability` to the server. Listen to the::ackand::naksignals which will contain the contents ofcapability` that was passed in here.

since: 0.1

ibis_capabilities_start

Starts capability negotiation on client.

since: 0.1

ibis_capabilities_stop

Stops handling capability commands.

since: 0.1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Ibis.Capabilities::ack

Emitted when the server has acknowledged a CAP REQ call from ibis_capabilities_request().

since: 0.1

Ibis.Capabilities::del

Emitted when the server sends the CAP DEL command. removed is a GStrv of the capabilities that the server removed.

since: 0.1

Ibis.Capabilities::done

Emitted when all of the requested capabilities have been either ack’d or nak’d by the server.

since: 0.1

Ibis.Capabilities::nak

Emitted when the server has nacked a CAP REQ call from ibis_capabilities_request().

since: 0.1

Ibis.Capabilities::new

Emitted when the server sends the CAP NEW command. added is a GStrv of the new capabilities the server added.

since: 0.1

Ibis.Capabilities::ready

Emitted when capabilities has finished receiving the list of capabilities from the server at startup.

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.

unstable since: 2.0

Class structure

struct IbisCapabilitiesClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.