#include <rmr/rmr.h>
#include "message.hpp"
-//class Messenger;
+namespace xapp {
/*
Builder.
/*
Drive_cb will invoke the callback and pass along the stuff passed here.
*/
-void Callback::Drive_cb( Message& m ) {
+void xapp::Callback::Drive_cb( Message& m ) {
if( user_fun != NULL ) {
user_fun( m, m.Get_mtype(), m.Get_subid(), m.Get_len(), m.Get_payload(), udata );
}
}
+
+} // namespace