Protocol.vardict


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "0.23.3" ) ]
public Protocol.vardict (DBusDaemon dbus, string cm_name, string protocol_name, Variant immutable_properties) throws Error

Create a new protocol proxy.

If immutable_properties is a floating reference, this function will take ownership of it, much like g_variant_ref_sink . See documentation of that function for details.

Parameters:

dbus

proxy for the D-Bus daemon; may not be null

cm_name

the connection manager name (such as "gabble")

protocol_name

the protocol name (such as "jabber")

immutable_properties

the immutable D-Bus properties for this protocol

Returns:

a new protocol proxy, or null on invalid arguments