ServerSideSource
Object Hierarchy:
Description:
[
CCode ( type_id =
"e_server_side_source_get_type ()" ) ]
[
Version ( since =
"3.6" ) ]
public class ServerSideSource :
Source,
Initable,
ProxyResolver
Contains only private data that should be read and manipulated using the functions below.
Content:
Properties:
Static methods:
- public static unowned string get_user_dir ()
Returns the directory where user-specific data source files are
stored.
- public static File new_user_file (string? uid)
Generates a unique file name for a new user-specific data source.
- public static string? uid_from_file (File file) throws Error
Extracts a unique identity string from the base name of file
.
Creation methods:
Methods:
- public bool get_exported ()
Returns whether this has been
exported over D-Bus.
- public unowned File? get_file ()
Returns the File
from which data source content is loaded and to which changes are saved.
- public unowned Node? get_node ()
Returns the Node
representing the this's hierarchical placement, or null if
this has not been placed in the data source hierarchy.
- public unowned SourceRegistryServer get_server ()
- public unowned string get_write_directory ()
Returns the local directory path where changes to
this are written.
- public bool load (Cancellable? cancellable = null) throws Error
Reloads data source content from the file pointed to by the
file property.
- public OAuth2Support? ref_oauth2_support ()
Returns the object implementing the EOAuth2SupportInterface
, or null if this does not support OAuth 2.0
authentication.
- public void set_oauth2_support (OAuth2Support? oauth2_support)
Indicates whether this supports
OAuth 2.0 authentication.
- public void set_remote_creatable (bool remote_creatable)
Indicates whether this can be used
to create resources on a remote server.
- public void set_remote_deletable (bool remote_deletable)
Indicates whether this can be used
to delete resources on a remote server.
- public void set_removable (bool removable)
Sets whether to allow registry clients to remove
this and its descendants.
- public void set_writable (bool writable)
Sets whether to allow registry clients to alter the content of
this.
- public void set_write_directory (string write_directory)
Sets the local directory path where changes to
this are to be written.
Inherited Members:
All known members inherited from class E.Source
All known members inherited from class GLib.Object
All known members inherited from interface GLib.Initable
All known members inherited from interface GLib.ProxyResolver