Class

PurpleConnection

Description

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

Ancestors

Instance methods

purple_connection_error

Closes a connection with an error and a human-readable description of the error.

purple_connection_g_error
No description available.
purple_connection_get_account

Returns the connection’s account.

purple_connection_get_active_chats

Returns a list of active chat conversations on a connection.

Available since: 3.0.0

purple_connection_get_display_name

Returns the connection’s displayed name.

purple_connection_get_error_info

Returns the PurpleConnectionErrorInfo instance of a connection if an error exists.

Available since: 3.0.0

purple_connection_get_flags

Returns the connection flags.

Available since: 3.0.0

purple_connection_get_id

Gets the identifier of the connection.

Available since: 3.0.0

purple_connection_get_password

Returns the connection’s password.

purple_connection_get_protocol

Returns the protocol managing a connection.

purple_connection_get_protocol_data

Gets the protocol data from a connection.

purple_connection_get_state

Returns the connection state.

purple_connection_is_disconnecting

Checks, if connection is in disconnecting state.

purple_connection_notice

Displays a connection-specific notice.

purple_connection_set_display_name

Sets the connection’s displayed name.

purple_connection_set_flags

Sets the connection flags.

Available since: 3.0.0

purple_connection_set_protocol_data

Sets the protocol data for a connection.

purple_connection_set_state

Sets the connection state. Protocols should call this and pass in the state #PURPLE_CONNECTION_CONNECTED when the account is completely signed on. What does it mean to be completely signed on? If the core can call protocol’s set_status, and it successfully changes your status, then the account is online.

purple_connection_ssl_error

Closes a connection due to an SSL error; this is basically a shortcut to turning the PurpleSslErrorType into a PurpleConnectionError and a human-readable string and then calling purple_connection_error().

purple_connection_take_error
No description available.
purple_connection_update_last_received

Indicate that a packet was received on the connection. Set by the protocol to avoid sending unneeded keepalives.

Available since: 3.0.0

purple_connection_update_progress

Updates the connection progress.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.Connection:account
No description available.
Purple.Connection:display-name
No description available.
Purple.Connection:flags
No description available.
Purple.Connection:id
No description available.
Purple.Connection:password
No description available.
Purple.Connection:protocol
No description available.
Purple.Connection:state
No description available.

Signals

Signals inherited from GObject (1)
GObject.Object::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 PurpleConnectionClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class
GObjectClass
  No description available.