Class
PurpleConnection
Instance methods
purple_connection_connect
Tells the connection to connect. This is done by calling the
Purple.ConnectionClass.connect
function. State is managed by this function.
unstable since: 3.0
purple_connection_disconnect
Tells the connection to disconnect. This is done by calling the
Purple.ConnectionClass.disconnect
function. State is managed by this function.
unstable since: 3.0
purple_connection_get_cancellable
Gets the cancellable that should be used with connection
.
unstable since: 3.0
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.
since: 2.0
Class structure
Virtual methods
Purple.ConnectionClass.connect
Tells the connection to connect. This is done by calling the
Purple.ConnectionClass.connect
function. State is managed by this function.
unstable since: 3.0
Purple.ConnectionClass.disconnect
Tells the connection to disconnect. This is done by calling the
Purple.ConnectionClass.disconnect
function. State is managed by this function.
unstable since: 3.0