TODO:: https://github.com/microsoft/cpprestsdk/blob/master/Release/samples/CasaLens/casalens.cpp
| 593 | |
| 594 | // TODO:: https://github.com/microsoft/cpprestsdk/blob/master/Release/samples/CasaLens/casalens.cpp |
| 595 | bool MeasureManagerServer::open() { |
| 596 | auto status = m_listener.open().then([](pplx::task<void> t) { handle_error(t); }).wait(); |
| 597 | return status == pplx::task_group_status::completed; |
| 598 | } |
| 599 | bool MeasureManagerServer::close() { |
| 600 | auto status = m_listener.close().then([](pplx::task<void> t) { handle_error(t); }).wait(); |
| 601 | return status == pplx::task_group_status::completed; |