Gjsify LogoGjsify Logo

The class of a #TpBaseConnection. Many members are virtual methods etc. to be filled in in the subclass' class_init function.

record

Hierarchy

  • BaseConnectionClass

Index

Constructors

Properties

If set by subclasses, will be called just after the state changes to CONNECTED. May be %NULL if nothing special needs to happen.

field
connecting: BaseConnectionProc

If set by subclasses, will be called just after the state changes to CONNECTING. May be %NULL if nothing special needs to happen.

field
disconnected: BaseConnectionProc

If set by subclasses, will be called just after the state changes to DISCONNECTED. May be %NULL if nothing special needs to happen.

field
get_unique_connection_name: BaseConnectionGetUniqueConnectionNameImpl

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.

field
parent_class: GObject.ObjectClass

The superclass' structure

field

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.

field

Asynchronously start connecting - called to implement the Connect D-Bus method. See #TpBaseConnectionStartConnectingImpl for details. May not be left as %NULL.

field
name: string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method