ric_subscription refactor func name

master
Piotr Gawlowicz 2 years ago committed by Justin Tallon
parent b6e8f85333
commit c526870381

@ -42,7 +42,7 @@ public:
private: private:
void _send_subscription_response(); void _send_subscription_response();
void _send_subscription_failure(); void _send_subscription_failure();
void send_ric_indication(); void _send_ric_indication();
uint32_t _generate_ric_indication_sn(); uint32_t _generate_ric_indication_sn();
ric_client* parent = nullptr; ric_client* parent = nullptr;
@ -57,7 +57,7 @@ private:
srsran::unique_timer reporting_timer; // for RIC indication reporting srsran::unique_timer reporting_timer; // for RIC indication reporting
std::vector<E2AP_RIC_action_t> admitted_actions; std::vector<E2AP_RIC_action_t> admitted_actions;
std::vector<uint32_t> not_admitted_actions; std::vector<uint32_t> not_admitted_actions;
uint32_t _ric_indication_sn_gen = 0; uint32_t _ric_indication_sn_gen = 0;
}; };

@ -98,7 +98,7 @@ void ric_client::ric_subscription::start_subscription()
if (reporting_period) { if (reporting_period) {
printf("Start sending RIC indication msgs every %i ms\n", reporting_period); printf("Start sending RIC indication msgs every %i ms\n", reporting_period);
parent->logger.debug("Start sending RIC indication msgs every %i ms", reporting_period); parent->logger.debug("Start sending RIC indication msgs every %i ms", reporting_period);
reporting_timer.set(reporting_period, [this](uint32_t tid) { send_ric_indication(); }); reporting_timer.set(reporting_period, [this](uint32_t tid) { _send_ric_indication(); });
reporting_timer.run(); reporting_timer.run();
} }
} }
@ -195,7 +195,7 @@ uint32_t ric_client::ric_subscription::_generate_ric_indication_sn()
return sn; return sn;
}; };
void ric_client::ric_subscription::send_ric_indication() void ric_client::ric_subscription::_send_ric_indication()
{ {
if (sm_ptr == nullptr) { if (sm_ptr == nullptr) {
parent->logger.error("SM pointer not set in subscription: %i\n", ric_requestor_id); parent->logger.error("SM pointer not set in subscription: %i\n", ric_requestor_id);

Loading…
Cancel
Save