Age | Commit message (Collapse) | Author | Files | Lines |
|
Rework message hierarchy with the final objective
of splitting libqtappfw into several libraries.
This commit carries the following changes:
- Simplify message hierarchy, keeping abstract
Message class, adding specialization for call and
event messages, keeping ResponseMessage, and
removing all module specific specializations.
- Add MessageFactory class to create message
objects.
- Change messages life cycle: using smart pointers
and removing QObject from message hierarchy (a
Message is not a QObject anymore and thus
'deleteLater()' is not available).
- Adapt all modules to use new message hierarchy.
- Keep ResponseMessage original constructor to
avoid breaking TaskManager.
- Message constructors have been kept public, but
will go private on a follow-up patch (once
TaskManager class has been modified to use new
MessageFactory).
Bug-AGL: SPEC-3112
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I3a7a6325209ddeca2293f1ac745371861a947bfb
|
|
Add support for callid sequencing, and request data being included
with the response message.
Bug-AGL: SPEC-1404
Change-Id: I259ae3da68e55de17eafe9db534258db5fbc3ef8
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Implements several QtObject subclasses that wrap
functionality provided by the AGL Application Framework.
* Message provides facilities to create new AppFW requests
and parse AppFw replies/events from a JSON buffer.
* MessageEngine provides a websocket message processing client
that can send or receive Messages on a given websocket address.
* TelephonyMessage subclasses Message to provide accessors and
methods specific to the AGL Telephony API.
* Telephony provides a complete set of Qt properties/signals/methods
that expose the AGL Telephony functionality to Qt/QML applications.
An application normally instantiates only this class and has no
need to handle low-level AppFW messages.
Bug-AGL: SPEC-1064
Change-Id: I2e41fb866bb4f867c81ccaf9bf33d627893879c8
Signed-off-by: Matt Porter <mporter@konsulko.com>
|