Ags.Connectable

g Ags.Connectable Ags.Connectable GObject.GInterface GObject.GInterface GObject.GInterface->Ags.Connectable

Implementations:

Ags.ApplicationContext, Ags.ServerStatus, Ags.TaskCompletion, Ags.TaskLauncher, Ags.Thread

Methods

add_to_registry ()

connect ()

connect_connection (connection)

disconnect ()

disconnect_connection (connection)

get_uuid ()

has_resource ()

is_connected ()

is_ready ()

list_resource ()

remove_from_registry ()

xml_compose ()

xml_parse (node)

Virtual Methods

do_add_to_registry ()

do_connect ()

do_connect_connection (connection)

do_disconnect ()

do_disconnect_connection (connection)

do_get_uuid ()

do_has_resource ()

do_is_connected ()

do_is_ready ()

do_list_resource ()

do_remove_from_registry ()

do_xml_compose ()

do_xml_parse (node)

Properties

None

Signals

None

Fields

None

Class Details

class Ags.Connectable
Bases:

GObject.GInterface

Structure:

Ags.ConnectableInterface

add_to_registry()

Add connectable to registry.

New in version 3.0.0.

connect()

Connect the connectable.

New in version 3.0.0.

connect_connection(connection)
Parameters:

connection (GObject.Object) – the connection

Disconnect the connectable.

New in version 3.0.0.

disconnect()

Disconnect the connectable.

New in version 3.0.0.

disconnect_connection(connection)
Parameters:

connection (GObject.Object) – the connection

Disconnect the connectable.

New in version 3.0.0.

get_uuid()
Returns:

the assigned Ags.UUID

Return type:

Ags.UUID

Get UUID of self.

New in version 3.0.0.

has_resource()
Returns:

True if self can be added to registry, otherwise False.

Return type:

bool

Check the connectable to have resources.

New in version 3.0.0.

is_connected()
Returns:

True if is connected, otherwise False.

Return type:

bool

Check if the self was connected.

New in version 3.0.0.

is_ready()
Returns:

True if is added to registry, otherwise False.

Return type:

bool

Connect the connectable.

New in version 3.0.0.

list_resource()
Returns:

the libxml2.Node-struct

Return type:

libxml2.Node

List resources as an XML element and return it.

New in version 3.0.0.

remove_from_registry()

Remove connectable from registry.

New in version 3.0.0.

xml_compose()
Returns:

the libxml2.Node-struct

Return type:

libxml2.Node

Compose an XML element and return it.

New in version 3.0.0.

xml_parse(node)
Parameters:

node (libxml2.Node) – the libxml2.Node-struct

Parse node as XML element and apply it.

New in version 3.0.0.

do_add_to_registry() virtual

Add connectable to registry.

New in version 3.0.0.

do_connect() virtual

Connect the connectable.

New in version 3.0.0.

do_connect_connection(connection) virtual
Parameters:

connection (GObject.Object) – the connection

Disconnect the connectable.

New in version 3.0.0.

do_disconnect() virtual

Disconnect the connectable.

New in version 3.0.0.

do_disconnect_connection(connection) virtual
Parameters:

connection (GObject.Object) – the connection

Disconnect the connectable.

New in version 3.0.0.

do_get_uuid() virtual
Returns:

the assigned Ags.UUID

Return type:

Ags.UUID

Get UUID of connectable.

New in version 3.0.0.

do_has_resource() virtual
Returns:

True if connectable can be added to registry, otherwise False.

Return type:

bool

Check the connectable to have resources.

New in version 3.0.0.

do_is_connected() virtual
Returns:

True if is connected, otherwise False.

Return type:

bool

Check if the connectable was connected.

New in version 3.0.0.

do_is_ready() virtual
Returns:

True if is added to registry, otherwise False.

Return type:

bool

Connect the connectable.

New in version 3.0.0.

do_list_resource() virtual
Returns:

the libxml2.Node-struct

Return type:

libxml2.Node

List resources as an XML element and return it.

New in version 3.0.0.

do_remove_from_registry() virtual

Remove connectable from registry.

New in version 3.0.0.

do_xml_compose() virtual
Returns:

the libxml2.Node-struct

Return type:

libxml2.Node

Compose an XML element and return it.

New in version 3.0.0.

do_xml_parse(node) virtual
Parameters:

node (libxml2.Node) – the libxml2.Node-struct

Parse node as XML element and apply it.

New in version 3.0.0.