Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-AMF
Commits
1b7d0e37
Commit
1b7d0e37
authored
Sep 28, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ITTI Terminate msg
parent
92fb2038
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
2 deletions
+30
-2
src/amf-app/amf_app.cpp
src/amf-app/amf_app.cpp
+9
-2
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+7
-0
src/amf-app/amf_n11.cpp
src/amf-app/amf_n11.cpp
+7
-0
src/amf-app/amf_n2.cpp
src/amf-app/amf_n2.cpp
+7
-0
No files found.
src/amf-app/amf_app.cpp
View file @
1b7d0e37
...
...
@@ -123,7 +123,7 @@ void amf_app_task(void*) {
amf_app_inst
->
handle_itti_message
(
ref
(
*
m
));
}
break
;
case
TIME_OUT
:
case
TIME_OUT
:
{
if
(
itti_msg_timeout
*
to
=
dynamic_cast
<
itti_msg_timeout
*>
(
msg
))
{
switch
(
to
->
arg1_user
)
{
case
TASK_AMF_APP_PERIODIC_STATISTICS
:
...
...
@@ -138,7 +138,14 @@ void amf_app_task(void*) {
to
->
arg1_user
);
}
}
break
;
}
break
;
case
TERMINATE
:
{
if
(
itti_msg_terminate
*
terminate
=
dynamic_cast
<
itti_msg_terminate
*>
(
msg
))
{
Logger
::
amf_n2
().
info
(
"Received terminate message"
);
return
;
}
}
break
;
default:
Logger
::
amf_app
().
info
(
"no handler for msg type %d"
,
msg
->
msg_type
);
}
...
...
src/amf-app/amf_n1.cpp
View file @
1b7d0e37
...
...
@@ -111,6 +111,13 @@ void amf_n1_task(void*) {
dynamic_cast
<
itti_downlink_nas_transfer
*>
(
msg
);
amf_n1_inst
->
handle_itti_message
(
ref
(
*
m
));
}
break
;
case
TERMINATE
:
{
if
(
itti_msg_terminate
*
terminate
=
dynamic_cast
<
itti_msg_terminate
*>
(
msg
))
{
Logger
::
amf_n1
().
info
(
"Received terminate message"
);
return
;
}
}
break
;
default:
Logger
::
amf_n1
().
error
(
"No handler for msg type %d"
,
msg
->
msg_type
);
}
...
...
src/amf-app/amf_n11.cpp
View file @
1b7d0e37
...
...
@@ -136,6 +136,13 @@ void amf_n11_task(void*) {
dynamic_cast
<
itti_sbi_notify_subscribed_event
*>
(
msg
);
amf_n11_inst
->
handle_itti_message
(
ref
(
*
m
));
}
break
;
case
TERMINATE
:
{
if
(
itti_msg_terminate
*
terminate
=
dynamic_cast
<
itti_msg_terminate
*>
(
msg
))
{
Logger
::
amf_n11
().
info
(
"Received terminate message"
);
return
;
}
}
break
;
default:
{
Logger
::
amf_n11
().
info
(
"Receive unknown message type %d"
,
msg
->
msg_type
);
...
...
src/amf-app/amf_n2.cpp
View file @
1b7d0e37
...
...
@@ -213,6 +213,13 @@ void amf_n2_task(void* args_p) {
itti_paging
*
m
=
dynamic_cast
<
itti_paging
*>
(
msg
);
amf_n2_inst
->
handle_itti_message
(
ref
(
*
m
));
}
break
;
case
TERMINATE
:
{
if
(
itti_msg_terminate
*
terminate
=
dynamic_cast
<
itti_msg_terminate
*>
(
msg
))
{
Logger
::
amf_n2
().
info
(
"Received terminate message"
);
return
;
}
}
break
;
default:
Logger
::
amf_n2
().
info
(
"No handler for msg type %d"
,
msg
->
msg_type
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment