summaryrefslogtreecommitdiff
path: root/client/commands.c
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2013-06-12 16:54:29 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-06-13 10:38:33 +0300
commit1ac86108dfc3d8e350bda9daf42496fabaa5a3d6 (patch)
tree26485781f0f8fbd62dcb0df96e823a3662348dce /client/commands.c
parent01fe75b711144509e06156071d33fb8c731bbb53 (diff)
downloadconnman-1ac86108dfc3d8e350bda9daf42496fabaa5a3d6.tar.gz
connman-1ac86108dfc3d8e350bda9daf42496fabaa5a3d6.tar.bz2
connman-1ac86108dfc3d8e350bda9daf42496fabaa5a3d6.zip
client: Implement support for queueing Agent messages
ConnMan and ConnMan VPN daemon both send only one Agent message at a time. Since they are two different daemons, they can be sending messages at the same time independent of each other. Implement a check for an agent request from the other daemon being already processed and if so store the message for later. When the current agent request has been processed, check if there are pending requests from the other daemon and re-run the pending function. In order to support arbitrary queueing, make all method call implementations asynchronous.
Diffstat (limited to 'client/commands.c')
0 files changed, 0 insertions, 0 deletions