LibvirtGObject.Manager

g GObject.Object GObject.Object LibvirtGObject.Manager LibvirtGObject.Manager GObject.Object->LibvirtGObject.Manager

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

add_connection (conn)

find_connection_by_uri (uri)

get_connections ()

remove_connection (conn)

Virtual Methods

Inherited:

GObject.Object (7)

do_connection_added (conn)

do_connection_removed (conn)

Properties

None

Signals

Inherited:

GObject.Object (1)

Name

Short Description

connection-added

connection-removed

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class LibvirtGObject.Manager(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

LibvirtGObject.ManagerClass

classmethod new()
Return type:

LibvirtGObject.Manager

add_connection(conn)
Parameters:

conn (LibvirtGObject.Connection) –

find_connection_by_uri(uri)
Parameters:

uri (str) –

Returns:

the connection,or None. The returned object should be unreffed with GObject.Object.unref() when no longer needed.

Return type:

LibvirtGObject.Connection or None

get_connections()
Returns:

the connections. The returned list should be freed with g_list_free(), after its elements have been unreffed with GObject.Object.unref().

Return type:

[LibvirtGObject.Connection]

remove_connection(conn)
Parameters:

conn (LibvirtGObject.Connection) –

do_connection_added(conn) virtual
Parameters:

conn (LibvirtGObject.Connection) –

do_connection_removed(conn) virtual
Parameters:

conn (LibvirtGObject.Connection) –

Signal Details

LibvirtGObject.Manager.signals.connection_added(manager, object)
Signal Name:

connection-added

Flags:

RUN_FIRST

Parameters:
LibvirtGObject.Manager.signals.connection_removed(manager, object)
Signal Name:

connection-removed

Flags:

RUN_FIRST

Parameters: