using namespace grpc;
static gpointer
-_grpc_thread_func (gpointer data)
+_grpc_thread_func (gpointer data __attribute__((unused)))
{
- GMainLoop *loop = (GMainLoop*)data;
-
std::string binding("0.0.0.0:50051");
aurumServiceImpl service;
ServerBuilder builder;
LOG_SCOPE_F(INFO, "Log : %s", logPath);
loop = g_main_loop_new ( NULL , FALSE );
- g_thread_new("grpc_thread", _grpc_thread_func, loop); //, TRUE, NULL);
+ g_thread_new("grpc_thread", _grpc_thread_func, loop);
+
g_main_loop_run (loop);
g_main_loop_unref(loop);
LOG_SCOPE_F(INFO, "Sync Command ");
const AccessibleWatcher *accObj = AccessibleWatcher::getInstance();
- AccessibleNode *root = accObj->getRootNode();
- AccessibleNode *top = accObj->getTopNode();
- LOG_F(INFO, "%p(%p) %p(%p)", root, root->getAccessible(), top,
- top->getAccessible());
-
+ auto root = accObj->getRootNode();
+ LOG_F(INFO, "root node tree / depth : 2");
root->print(0, 2);
- LOG_F(INFO, "---------");
- top->print(0, 2);
return grpc::Status::OK;
}
\ No newline at end of file