X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fxapp-utils%2Fxapp_rmr.hpp;fp=src%2Fxapp-utils%2Fxapp_rmr.hpp;h=41390360b019dfde9bfa8c991e4883ec5d1e2025;hb=572205b203bec9a787b051c19195ea1db17eb94b;hp=d2fabd2dc486b109f7320a657f0941e1e9be30a7;hpb=603deb511c124c292d14544d4aa081a4d6da2138;p=ric-app%2Fhw.git diff --git a/src/xapp-utils/xapp_rmr.hpp b/src/xapp-utils/xapp_rmr.hpp index d2fabd2..4139036 100755 --- a/src/xapp-utils/xapp_rmr.hpp +++ b/src/xapp-utils/xapp_rmr.hpp @@ -51,8 +51,8 @@ typedef struct{ int32_t message_type; int32_t state; int32_t payload_length; - unsigned char sid[RMR_MAX_SID]; //sender ID for return to sender needs.(ACKS required)[RMR_MAX_SID] - unsigned char src[RMR_MAX_SRC]; //name of the sender (source)[RMR_MAX_SRC] + unsigned char sid[RMR_MAX_SID]; //Subscription ID. + unsigned char src[RMR_MAX_SRC]; //Xapp Name unsigned char meid[RMR_MAX_MEID]={}; } xapp_rmr_header; @@ -78,8 +78,6 @@ public: template void xapp_rmr_receive(MessageProcessor&&, XappRmr *parent); - template - void xapp_test_receiver(MessageProcessor&&, XappRmr *parent); bool xapp_rmr_send(xapp_rmr_header*, void*); bool rmr_header(xapp_rmr_header*); @@ -138,8 +136,8 @@ void XappRmr::xapp_rmr_receive(MsgHandler&& msgproc, XappRmr *parent){ msgproc(this->_xapp_received_buff, resend); if(*resend){ - //mdclog_write(MDCLOG_INFO,"RMR Return to Sender Message of Type: %d",this->_xapp_received_buff->mtype); - //mdclog_write(MDCLOG_INFO,"RMR Return to Sender Message: %s",(char*)this->_xapp_received_buff->payload); + mdclog_write(MDCLOG_INFO,"RMR Return to Sender Message of Type: %d",this->_xapp_received_buff->mtype); + mdclog_write(MDCLOG_INFO,"RMR Return to Sender Message: %s",(char*)this->_xapp_received_buff->payload); rmr_rts_msg(rmr_context, this->_xapp_received_buff ); sleep(1); *resend = false;