TelepathyIM / telepathy-spec

Telepathy D-Bus API specification
https://telepathy.freedesktop.org/spec/
GNU Lesser General Public License v2.1
2 stars 0 forks source link

Develop a ConnectionManager interface to support account messaging API without a connection #26

Open Kaffeine opened 3 years ago

Kaffeine commented 3 years ago

The idea is to keep Connection for connection API and use another object for everything else (that can be available without connection). The "another object type" is named AccountApi for now. See https://github.com/TelepathyIM/telepathy-spec/issues/24 for other details.

ConnectionManager.Interface.AccountApi

Description

To expose AccountApi support and make it discoverable, add a ConnectionManager interface.

Methods

RequestApi

RequestApi (s: Protocol, a{sv}: Parameters) => s: Bus_Name, o: Object_Path

The arguments are the same as for ConnectionManager RequestConnection

Signals

NewApiInstance

NewApiInstance (s: Bus_Name, o: Object_Path, s: Protocol)

Emitted when a new AccountApi object is created.