1 //******************************************************************
3 // Copyright 2014 Intel Corporation All Rights Reserved.
4 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
7 #include "LiteSessionImpl.h"
10 #include <android/log.h>
15 LiteSessionImpl::LiteSessionImpl(API::Context::SharedPtr pCCFContext, UUID_t uuid) : LiteSession(pCCFContext, uuid)
18 __android_log_print(ANDROID_LOG_VERBOSE, tag, "LiteSessionImpl::LiteSessionImpl()");
24 using namespace std::placeholders;
26 pCCFContext_->querySession(sessionId_, std::bind(&LiteSessionImpl::querySessionObserver, this, _1));
30 LiteSessionImpl::~LiteSessionImpl()
32 applicationSet_.clear();
36 void LiteSessionImpl::invite() {
37 if (!isConnected_ && !isInvited_) {
39 pInvitationBuilder_ = pCCFContext_->createInvitationBuilder();
45 void LiteSessionImpl::disconnect() {
49 void LiteSessionImpl::querySessionObserver(const API::SessionQueryResult& sessionQueryResult)