OCStackResult InProcServerWrapper::startPresence(const unsigned int seconds)
{
-#ifdef WITH_PRESENCE
auto cLock = m_csdkLock.lock();
OCStackResult result = OC_STACK_ERROR;
if(cLock)
throw OCException(OC::Exception::START_PRESENCE_FAILED, result);
}
return result;
-#else
- return OC_STACK_NOT_IMPLEMENTED;
-#endif
}
OCStackResult InProcServerWrapper::stopPresence()
{
-#ifdef WITH_PRESENCE
auto cLock = m_csdkLock.lock();
OCStackResult result = OC_STACK_ERROR;
if(cLock)
throw OCException(OC::Exception::END_PRESENCE_FAILED, result);
}
return result;
-#else
- return OC_STACK_NOT_IMPLEMENTED;
-#endif
}
OCStackResult InProcServerWrapper::sendResponse(