Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider a new object type for ConnectionManager to provide messaging API #24

Open
Kaffeine opened this issue Nov 5, 2020 · 0 comments

Comments

@Kaffeine
Copy link
Member

Kaffeine commented Nov 5, 2020

The idea is to keep Connection for connection API and use another object for everything else (that can be available without connection).

Draft

Description

The object holds the account context, so exposed properties nor methods don't have to specify the account for operation.

In order to allow AccountApi objects to be discovered by new clients, the object path and well-known bus name MUST be of the form /org/freedesktop/Telepathy/AccountApi/cmname/proto/account and org.freedesktop.Telepathy.AccountApi.cmname.proto.account where:

  • cmname is the same Connection_Manager_Name that appears in the connection manager's object path and well-known bus name
  • proto is the Protocol name as seen in ListProtocols, but with "-" replaced with "_" to get a valid object path/bus name
  • account is some non-empty sequence of ASCII letters, digits, and underscores not starting with a digit

Types

Methods

Signals

Properties

Interfaces — DBus_Interface_List (Read only, Immutable)

@Kaffeine Kaffeine changed the title Develop Connection.Interface.WarmUp Consider new org.freedesktop.Telepathy.AccountStorage object type Nov 5, 2020
@Kaffeine Kaffeine changed the title Consider new org.freedesktop.Telepathy.AccountStorage object type Consider org.freedesktop.Telepathy.AccountStorage object type Nov 5, 2020
@Kaffeine Kaffeine changed the title Consider org.freedesktop.Telepathy.AccountStorage object type Consider a new object type for ConnectionManager to provide messaging API Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant