1 #include "SyncCommand.h"
4 #include <AccessibleWatcher.h>
5 #include <AccessibleNode.h>
7 SyncCommand::SyncCommand(const ::aurum::ReqEmpty *request,
8 ::aurum::RspEmpty * response)
9 : mRequest{request}, mResponse{response}
13 ::grpc::Status SyncCommand::execute()
15 LOG_SCOPE_F(INFO, "Sync Command ");
16 const AccessibleWatcher *accObj = AccessibleWatcher::getInstance();
18 auto root = accObj->getRootNode();
19 LOG_F(INFO, "root node tree / depth : 2");
22 return grpc::Status::OK;