From: Patrik Flykt <[email protected]>

        Hi,

Here is version 2 of the patch set. Version 2 changes the agent api callbacks
to give the dbus message instead of the pending call. This since we need to
check if the reply is a timeout error, and if it is, the agent needs to be
sent a cancel.


With this patch set Agent API requests are now serialized by ConnMan.
Patch 01 implements agent message queueing on sending, unqueueing on reply
and sending of the next queued message, if any. The enqueing function is
used for all agent requests in patch 02.

Patch 03 implements Agent API Cancel method call used in patch 04 when
disconnecting a service or when a registered Agent disconnects.

Some nitpicking on shutdown is implemented in patch 05.

Please review,


       Patrik


Patrik Flykt (5):
  agent: Implement Agent API message queueing
  agent: Use the Agent queueing functions when sending requests
  agent: Implement Agent API Cancel() method call
  agent: Cancel agent requests
  agent: Always clean up and unref on agent shutdown

 src/agent.c   |  333 +++++++++++++++++++++++++++++++++++++++++----------------
 src/connman.h |    2 +
 src/service.c |    2 +
 3 files changed, 245 insertions(+), 92 deletions(-)

-- 
1.7.10.4

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to