get_sync


Description:

public static Authority get_sync (Cancellable? cancellable = null) throws Error

Synchronously gets a reference to the authority.

This is a synchronous failable function - the calling thread is blocked until a reply is received. See get_async for the asynchronous version.

Parameters:

cancellable

A Cancellable or null.

Returns:

A Authority. Free it with unref when done with it.