Skip to content

Instantly share code, notes, and snippets.

@sangfansh
Created August 10, 2018 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sangfansh/788651555f6e7e43ceb8dd346764da4f to your computer and use it in GitHub Desktop.
Save sangfansh/788651555f6e7e43ceb8dd346764da4f to your computer and use it in GitHub Desktop.
int MessageHandler::init() {
this->nm->Init();
this->nm->connectCallbackHandler([this](string v, int type) {
return this->incomingHandler(v, type);
});
}
void MessageHandler::start() {
this->nm->startService();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment