From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 3/7] Add message agent interface documentation
Date: Tue, 28 Sep 2010 21:27:12 -0500 [thread overview]
Message-ID: <4CA2A400.1050102@gmail.com> (raw)
In-Reply-To: <1285606459-1297-4-git-send-email-aki.niemi@nokia.com>
[-- Attachment #1: Type: text/plain, Size: 1804 bytes --]
Hi Aki,
On 09/27/2010 11:54 AM, Aki Niemi wrote:
> ---
> doc/message-api.txt | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 51 insertions(+), 0 deletions(-)
>
> diff --git a/doc/message-api.txt b/doc/message-api.txt
> index 9e8d02f..5bdc98d 100644
> --- a/doc/message-api.txt
> +++ b/doc/message-api.txt
> @@ -38,6 +38,29 @@ Methods dict GetProperties()
> message could be queued successfully, this method
> returns an object path to the created Message object.
>
> + void RegisterAgent(object path)
> +
> + Registers an agent to handle received messages.
> +
> + The object path defines the path of the agent that
> + will be called when either a text message, a vCard
> + object or a vCalendar object is ready to be
> + dispatched.
> +
> + Possible Errors: [service].Error.InvalidArguments
> + [service].Error.InvalidFormat
> + [service].Error.InUse
So me and Marcel had a very long talk about this. We are basically fine
using an Agent for text messaging (however, we agreed that it isn't
really necessary, the signals and history cover all realistic use cases).
What we did not like is being able to register multiple agents. So
instead we decided that using explicit APIs for this is better. Please
see the detailed proposal in doc/smartmessaging-api.txt and
doc/pushnotification-api.txt.
The SmartMessaging API will handle reception of vCalendars and vCards.
This API also covers sending of these objects.
The PushNotification API will handle WAP PUSH requests.
We'd like to do all of this from a plugin, so the last thing to figure
out is the plumbing for plugins to be able to track the lifetime of the
sms atom and register the interface appropriately.
Regards,
-Denis
next prev parent reply other threads:[~2010-09-29 2:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-27 16:54 SMS agent interface Aki Niemi
2010-09-27 16:54 ` [PATCH 1/7] Include datagram support to history API Aki Niemi
2010-09-28 2:16 ` Denis Kenzior
2010-09-27 16:54 ` [PATCH 2/7] Add datagram dispatch to sms atom Aki Niemi
2010-09-27 16:54 ` [PATCH 3/7] Add message agent interface documentation Aki Niemi
2010-09-29 2:27 ` Denis Kenzior [this message]
2010-09-29 5:56 ` Aki Niemi
2010-09-29 9:52 ` Marcel Holtmann
2010-09-29 12:45 ` Aki Niemi
2010-09-29 14:10 ` Marcel Holtmann
2010-09-27 16:54 ` [PATCH 4/7] Add message agent interface definition Aki Niemi
2010-09-27 16:54 ` [PATCH 5/7] Add message agent implementation Aki Niemi
2010-09-27 16:54 ` [PATCH 6/7] Add agent interface to sms atom Aki Niemi
2010-09-27 16:54 ` [PATCH 7/7] Add test sms agent implementation Aki Niemi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CA2A400.1050102@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.