call


Description:

public bool call (string method, Variant? @params, Cancellable? cancellable, out Variant? return_value) throws Error

Synchronously calls method with params on the remote peer.

once a reply has been received, or failure, this function will return. If successful, return_value will be set with the reslut field of the response.

If params is floating then this function consumes the reference.

Parameters:

this

A Client

method

The name of the method to call

cancellable

A Cancellable or null

return_value

A location for a [[email protected]]

params

A [[email protected]] of parameters or null

Returns:

true on success; otherwise false and throws is set.




2022 vala-language.org