1 #include "SyncCommand.h"
6 SyncCommand::SyncCommand(const ::aurum::ReqEmpty *request,
7 ::aurum::RspEmpty * response)
8 : mRequest{request}, mResponse{response}
12 ::grpc::Status SyncCommand::execute()
14 UiDevice *obj = UiDevice::getInstance(DeviceType::DEFAULT);
15 long long timeMs = obj->getSystemTime(TypeRequestType::WALLCLOCK);
16 LOG_SCOPE_F(INFO, "Sync Command @ %f", timeMs/1000.0);
18 return grpc::Status::OK;