EDataServer.SourceResource¶
| 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- 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- Returns the server-assigned identity of the remote resource associated with the - EDataServer.Sourceto which self belongs.- New in version 3.6. 
 - 
set_identity(identity)¶
- Parameters: - identity ( - stror- None) – the identity of a remote resource- Sets the server-assigned identity of the remote resource associated with the - EDataServer.Sourceto which self belongs.- The internal copy of identity is automatically stripped of leading and trailing whitespace. If the resulting string is empty, - Noneis set instead.- New in version 3.6. 
 
-