EDataServer.SourceResource

g EDataServer.SourceExtension EDataServer.SourceExtension EDataServer.SourceResource EDataServer.SourceResource EDataServer.SourceExtension->EDataServer.SourceResource GObject.Object GObject.Object GObject.Object->EDataServer.SourceExtension

Subclasses:

None

Methods

Inherited:

EDataServer.SourceExtension (4), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

dup_identity ()

get_identity ()

set_identity (identity)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

EDataServer.SourceExtension (1)

Name

Type

Flags

Short Description

identity

str

r/w/c/en

Resource identity

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

EDataServer.SourceExtension

r

Class Details

class EDataServer.SourceResource(**kwargs)
Bases:

EDataServer.SourceExtension

Abstract:

No

Structure:

EDataServer.SourceResourceClass

Contains only private data that should be read and manipulated using the functions below.

New in version 3.6.

dup_identity()
Returns:

a newly-allocated copy of EDataServer.SourceResource :identity

Return type:

str or None

Thread-safe variation of EDataServer.SourceResource.get_identity(). Use this function when accessing self from multiple threads.

The returned string should be freed with GLib.free() when no longer needed.

New in version 3.6.

get_identity()
Returns:

the identity of a remote resource

Return type:

str or None

Returns the server-assigned identity of the remote resource associated with the EDataServer.Source to which self belongs.

New in version 3.6.

set_identity(identity)
Parameters:

identity (str or None) – the identity of a remote resource

Sets the server-assigned identity of the remote resource associated with the EDataServer.Source to which self belongs.

The internal copy of identity is automatically stripped of leading and trailing whitespace. If the resulting string is empty, None is set instead.

New in version 3.6.

Property Details

EDataServer.SourceResource.props.identity
Name:

identity

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT, EXPLICIT_NOTIFY

Resource identity