- //register MsgHandler plugin for a received rmr_buffer
- std::unique_ptr<XappMsgHandler> mp_handler = std::make_unique<XappMsgHandler>();
- hw_xapp->register_handler(std::bind(&XappMsgHandler::operator (),mp_handler.get(),std::placeholders::_1,std::placeholders::_2));
+ //create HelloWorld Xapp Instance.
+ std::unique_ptr<Xapp> hw_xapp;
+ hw_xapp = std::make_unique<Xapp>(std::ref(config),std::ref(*rmr));