If set by subclasses, will be called just after the state changes to CONNECTED. May be %NULL if nothing special needs to happen.
If set by subclasses, will be called just after the state changes to CONNECTING. May be %NULL if nothing special needs to happen.
If set by subclasses, will be called just after the state changes to DISCONNECTED. May be %NULL if nothing special needs to happen.
Construct a unique name for this connection (for example using the protocol's format for usernames). If %NULL (the default), a unique name will be generated. Subclasses should usually override this to get more obvious names, to aid debugging and prevent multiple connections to the same account.
The superclass' structure
Called after disconnected() is called, to clean up the connection. Must start the shutdown process for the underlying network connection, and arrange for tp_base_connection_finish_shutdown() to be called after the underlying connection has been closed. May not be left as %NULL.
Asynchronously start connecting - called to implement the Connect D-Bus method. See #TpBaseConnectionStartConnectingImpl for details. May not be left as %NULL.
The class of a #TpBaseConnection. Many members are virtual methods etc. to be filled in in the subclass' class_init function.