Code Review
/
ric-plt
/
xapp-frame-cpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add API allowing xAPPs to send alarm messages
[ric-plt/xapp-frame-cpp.git]
/
src
/
messaging
/
callback.cpp
diff --git
a/src/messaging/callback.cpp
b/src/messaging/callback.cpp
index
d4d697d
..
9fd603f
100644
(file)
--- a/
src/messaging/callback.cpp
+++ b/
src/messaging/callback.cpp
@@
-30,8
+30,8
@@
#include <rmr/rmr.h>
#include "message.hpp"
#include <rmr/rmr.h>
#include "message.hpp"
-//class Messenger;
+namespace xapp {
/*
Builder.
/*
Builder.
@@
-49,10
+49,12
@@
Callback::Callback( user_callback ufun, void* data ) { // builder
/*
Drive_cb will invoke the callback and pass along the stuff passed here.
*/
/*
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 );
}
}
if( user_fun != NULL ) {
user_fun( m, m.Get_mtype(), m.Get_subid(), m.Get_len(), m.Get_payload(), udata );
}
}
+
+} // namespace