+ struct json_object *handshake_obj;
+ if(json_object_object_get_ex(g_hs_config.hs_conf, _keyHandshake, &handshake_obj) == 0) {
+ AFB_ERROR("get handshake failed.");
+ return -1;
+ }
+ else {
+ struct json_object *times_obj, *sleep_obj;
+ json_object_object_get_ex(handshake_obj, _keyTimes, ×_obj);
+ json_object_object_get_ex(handshake_obj, _keySleep, &sleep_obj);
+ AFB_WARNING("get handshake times=%d, sleep=%d", json_object_get_int(times_obj), json_object_get_int(sleep_obj));
+ }
+