GLib.DBusProxy – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
DBusProxy
g_bus_type
g_connection
g_default_timeout
g_flags
g_interface_info
g_interface_name
g_name
g_name_owner
g_object_path
@new
create_for_bus
DBusProxy
DBusProxy.for_bus_sync
DBusProxy.sync
call
call_sync
call_with_unix_fd_list
call_with_unix_fd_list_sync
get_cached_property
get_cached_property_names
get_connection
get_default_timeout
get_flags
get_interface_info
get_interface_name
get_name
get_name_owner
get_object_path
set_cached_property
set_default_timeout
set_interface_info
g_properties_changed
g_signal
DBusProxy
Object Hierarchy:
Description:
public
class
DBusProxy
:
Object
,
AsyncInitable
,
DBusInterface
,
Initable
,
AsyncInitable
,
DBusInterface
,
Initable
Namespace:
GLib
Package:
gio-2.0
Content:
Properties:
public
BusType
g_bus_type
{
construct
set
; }
public
DBusConnection
g_connection
{
construct
set
;
owned
get
; }
public
int
g_default_timeout
{
construct
set
;
get
; }
public
DBusProxyFlags
g_flags
{
construct
set
;
get
; }
public
DBusInterfaceInfo
g_interface_info
{
set
;
owned
get
; }
public
string
g_interface_name
{
construct
set
;
owned
get
; }
public
string
g_name
{
construct
set
;
owned
get
; }
public
string
g_name_owner
{
owned
get
; }
public
string
g_object_path
{
construct
set
;
owned
get
; }
Static methods:
public
static
async
DBusProxy
create_for_bus
(
BusType
bus_type,
DBusProxyFlags
flags,
DBusInterfaceInfo
? info,
string
name,
string
object_path,
string
interface_name,
Cancellable
? cancellable =
null
)
public
static
async
DBusProxy
@new
(
DBusConnection
connection,
DBusProxyFlags
flags,
DBusInterfaceInfo
? info,
string
? name,
string
object_path,
string
interface_name,
Cancellable
? cancellable =
null
)
Creation methods:
protected
DBusProxy
()
public
DBusProxy.for_bus_sync
(
BusType
bus_type,
DBusProxyFlags
flags,
DBusInterfaceInfo
? info,
string
name,
string
object_path,
string
interface_name,
Cancellable
? cancellable =
null
)
throws
Error
public
DBusProxy.sync
(
DBusConnection
connection,
DBusProxyFlags
flags,
DBusInterfaceInfo
? info,
string
? name,
string
object_path,
string
interface_name,
Cancellable
? cancellable =
null
)
throws
Error
Methods:
public
async
Variant
call
(
string
method_name,
Variant
? parameters,
DBusCallFlags
flags,
int
timeout_msec,
Cancellable
? cancellable =
null
)
throws
Error
public
Variant
call_sync
(
string
method_name,
Variant
? parameters,
DBusCallFlags
flags,
int
timeout_msec,
Cancellable
? cancellable =
null
)
throws
Error
public
async
Variant
call_with_unix_fd_list
(
string
method_name,
Variant
? parameters,
DBusCallFlags
flags,
int
timeout_msec,
UnixFDList
? fd_list =
null
,
Cancellable
? cancellable =
null
,
out
UnixFDList
? out_fd_list =
null
)
throws
Error
public
Variant
call_with_unix_fd_list_sync
(
string
method_name,
Variant
? parameters,
DBusCallFlags
flags,
int
timeout_msec,
UnixFDList
? fd_list =
null
,
out
UnixFDList
? out_fd_list =
null
,
Cancellable
? cancellable =
null
)
throws
Error
public
Variant
get_cached_property
(
string
property_name)
public
string
[]
get_cached_property_names
()
public
weak
DBusConnection
get_connection
()
public
int
get_default_timeout
()
public
DBusProxyFlags
get_flags
()
public
DBusInterfaceInfo
get_interface_info
()
public
unowned
string
get_interface_name
()
public
unowned
string
get_name
()
public
string
get_name_owner
()
public
unowned
string
get_object_path
()
public
void
set_cached_property
(
string
property_name,
Variant
? value)
public
void
set_default_timeout
(
int
timeout_msec)
public
void
set_interface_info
(
DBusInterfaceInfo
? info)
Signals:
public
virtual
signal
void
g_properties_changed
(
Variant
changed_properties,
string
[] invalidated_properties)
public
virtual
signal
void
g_signal
(
string
? sender_name,
string
signal_name,
Variant
parameters)
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count
All known members inherited from interface GLib.AsyncInitable
new_async
new_valist_async
newv_async
init_async
All known members inherited from interface GLib.DBusInterface
dup_object
get_info
get_object
set_object
All known members inherited from interface GLib.Initable
@new
new_valist
newv
init