Lines Matching defs:msg
172 ParamMessage *msg = reinterpret_cast<ParamMessage *>(buffer.data());
173 WATCHER_CHECK(msg != nullptr, return -1, "Invalid msg");
174 msg->type = MSG_NOTIFY_PARAM;
175 msg->msgSize = msgSize;
176 msg->id.watcherId = watcherId;
177 int ret = memcpy_s(msg->key, sizeof(msg->key), name.c_str(), name.size());
180 ret = FillParamMsgContent(msg, &offset, PARAM_VALUE, value.c_str(), value.size());
182 watcherManager->ProcessWatcherMessage(msg);