in lex_node/src/lex_node.cpp [53:62]
ErrorCode LexNode::Init(std::shared_ptr<PostContentInterface> post_content)
{
if (!post_content) {
return ErrorCode::INVALID_ARGUMENT;
}
post_content_ = post_content;
lex_server_ =
node_handle_.advertiseService<>("lex_conversation", &LexNode::LexServerCallback, this);
return ErrorCode::SUCCESS;
}