register


Description:

public bool register (string cm_name, out string bus_name, out string object_path) throws Error

Make the connection object appear on the bus, returning the bus name and object path used.

If true is returned, the connection owns the bus name, and will release it when destroyed.

Since 0.11.11, bus_name and object_path may be null if the strings are not needed.

Parameters:

this

A connection

cm_name

The name of the connection manager in the Telepathy protocol

bus_name

Used to return the bus name corresponding to the connection if true is returned. To be freed by the caller.

object_path

Used to return the object path of the connection if true is returned. To be freed by the caller.

Returns:

true on success, false on error.