Commit 921a0a21 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Create a connection manager for signal after class construction (Event)

parent 835e4465
......@@ -38,8 +38,11 @@ extern smf_event *smf_event_inst;
extern smf::smf_app *smf_app_inst;
extern itti_mw *itti_inst;
//------------------------------------------------------------------------------
smf_event::smf_event() {
}
//------------------------------------------------------------------------------
void smf_event::bind() {
//by default, subscribe to the events
smf_event_inst->subscribe_sm_context_status_notification(
boost::bind(&smf_event::send_sm_context_status_notification, this, _1, _1,
......
......@@ -54,6 +54,8 @@ class smf_event {
smf_event(smf_event const&) = delete;
void operator=(smf_event const&) = delete;
void bind();
/*
* Subscribe to SM Context Status Notification signal
* @param [const sm_context_status_sig_t::slot_type&] context_status_st: slot_type parameter
......@@ -107,6 +109,7 @@ class smf_event {
private:
sm_context_status_sig_t sm_context_status_sig; //Signal for SM Context status update
ee_pdu_session_release_sig_t pdu_session_release_sig; //Signal for PDU session release event
bool pdu_session_release_sig_is_connected;
};
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment