NM.Checkpoint

g GObject.Object GObject.Object NM.Object NM.Object GObject.Object->NM.Object NM.Checkpoint NM.Checkpoint NM.Object->NM.Checkpoint

Subclasses:

None

Methods

Inherited:

NM.Object (2), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_created ()

get_devices ()

get_rollback_timeout ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Object (2)

Name

Type

Flags

Short Description

created

int

r

devices

GLib.PtrArray

r

rollback-timeout

int

r

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class NM.Checkpoint(**kwargs)
Bases:

NM.Object

Abstract:

No

Structure:

NM.CheckpointClass

New in version 1.12.

get_created()
Returns:

the timestamp of checkpoint creation.

Return type:

int

Gets the timestamp (in CLOCK_BOOTTIME milliseconds) of checkpoint creation.

Use NM.utils_get_timestamp_msec() to obtain current time value suitable for comparing to this value.

New in version 1.12.

get_devices()
Returns:

the devices list.

Return type:

[NM.Device]

The devices that are part of this checkpoint.

New in version 1.12.

get_rollback_timeout()
Returns:

the rollback timeout.

Return type:

int

Gets the timeout in seconds for automatic rollback.

New in version 1.12.

Property Details

NM.Checkpoint.props.created
Name:

created

Type:

int

Default Value:

0

Flags:

READABLE

The timestamp (in CLOCK_BOOTTIME milliseconds) of checkpoint creation.

New in version 1.12.

NM.Checkpoint.props.devices
Name:

devices

Type:

GLib.PtrArray

Default Value:

None

Flags:

READABLE

The devices that are part of this checkpoint.

New in version 1.12.

NM.Checkpoint.props.rollback_timeout
Name:

rollback-timeout

Type:

int

Default Value:

0

Flags:

READABLE

Timeout in seconds for automatic rollback, or zero.

New in version 1.12.