Mercurial > libervia-backend
comparison sat/bridge/dbus_bridge.py @ 4041:2594e1951cf7
core (bridge): `action_new` now use serialised dict for extra data.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 15 May 2023 16:20:45 +0200 |
parents | 524856bd7b19 |
children |
comparison
equal
deleted
inserted
replaced
4040:1f967f85fc23 | 4041:2594e1951cf7 |
---|---|
86 | 86 |
87 class DBusObject(objects.DBusObject): | 87 class DBusObject(objects.DBusObject): |
88 | 88 |
89 core_iface = DBusInterface( | 89 core_iface = DBusInterface( |
90 const_INT_PREFIX + const_CORE_SUFFIX, | 90 const_INT_PREFIX + const_CORE_SUFFIX, |
91 Method('action_launch', arguments='sa{ss}s', returns='a{ss}'), | 91 Method('action_launch', arguments='sss', returns='s'), |
92 Method('actions_get', arguments='s', returns='a(a{ss}si)'), | 92 Method('actions_get', arguments='s', returns='a(ssi)'), |
93 Method('config_get', arguments='ss', returns='s'), | 93 Method('config_get', arguments='ss', returns='s'), |
94 Method('connect', arguments='ssa{ss}', returns='b'), | 94 Method('connect', arguments='ssa{ss}', returns='b'), |
95 Method('contact_add', arguments='ss', returns=''), | 95 Method('contact_add', arguments='ss', returns=''), |
96 Method('contact_del', arguments='ss', returns=''), | 96 Method('contact_del', arguments='ss', returns=''), |
97 Method('contact_get', arguments='ss', returns='(a{ss}as)'), | 97 Method('contact_get', arguments='ss', returns='(a{ss}as)'), |
153 Method('session_infos_get', arguments='s', returns='a{ss}'), | 153 Method('session_infos_get', arguments='s', returns='a{ss}'), |
154 Method('sub_waiting_get', arguments='s', returns='a{ss}'), | 154 Method('sub_waiting_get', arguments='s', returns='a{ss}'), |
155 Method('subscription', arguments='sss', returns=''), | 155 Method('subscription', arguments='sss', returns=''), |
156 Method('version_get', arguments='', returns='s'), | 156 Method('version_get', arguments='', returns='s'), |
157 Signal('_debug', 'sa{ss}s'), | 157 Signal('_debug', 'sa{ss}s'), |
158 Signal('action_new', 'a{ss}sis'), | 158 Signal('action_new', 'ssis'), |
159 Signal('connected', 'ss'), | 159 Signal('connected', 'ss'), |
160 Signal('contact_deleted', 'ss'), | 160 Signal('contact_deleted', 'ss'), |
161 Signal('contact_new', 'sa{ss}ass'), | 161 Signal('contact_new', 'sa{ss}ass'), |
162 Signal('disconnected', 's'), | 162 Signal('disconnected', 's'), |
163 Signal('entity_data_updated', 'ssss'), | 163 Signal('entity_data_updated', 'ssss'), |