Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
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-SMF
Commits
87176c72
Commit
87176c72
authored
Mar 25, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
polish the code for smf-msg
parent
f80616c6
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
114 additions
and
79 deletions
+114
-79
src/smf_app/smf_msg.cpp
src/smf_app/smf_msg.cpp
+32
-14
src/smf_app/smf_msg.hpp
src/smf_app/smf_msg.hpp
+82
-65
No files found.
src/smf_app/smf_msg.cpp
View file @
87176c72
...
...
@@ -59,6 +59,11 @@ void qos_flow_context_created::set_priority_level (uint8_t p)
{
priority_level
=
p
;
}
//-----------------------------------------------------------------------------
void
qos_flow_context_created
::
set_qos_rule
(
const
QOSRulesIE
&
rule
)
{
qos_rule
=
rule
;
}
//-----------------------------------------------------------------------------
void
qos_flow_context_modified
::
set_cause
(
const
uint8_t
cause
)
...
...
@@ -314,23 +319,23 @@ qos_flow_context_created pdu_session_create_sm_context_response::get_qos_flow_co
//-----------------------------------------------------------------------------
std
::
string
pdu_session_create_sm_context_response
::
get_n2_sm_information
()
const
{
return
n2_sm_information
;
return
m_
n2_sm_information
;
}
//-----------------------------------------------------------------------------
void
pdu_session_create_sm_context_response
::
set_n2_sm_information
(
std
::
string
const
&
value
){
n2_sm_information
=
value
;
m_
n2_sm_information
=
value
;
m_n2_sm_info_is_set
=
true
;
}
//-----------------------------------------------------------------------------
std
::
string
pdu_session_create_sm_context_response
::
get_n1_sm_message
()
const
{
return
n1_sm_message
;
return
m_
n1_sm_message
;
}
//-----------------------------------------------------------------------------
void
pdu_session_create_sm_context_response
::
set_n1_sm_message
(
std
::
string
const
&
value
){
n1_sm_message
=
value
;
m_
n1_sm_message
=
value
;
m_n1_sm_msg_is_set
=
true
;
}
...
...
@@ -361,34 +366,34 @@ std::string pdu_session_create_sm_context_response::get_amf_url() const
//-----------------------------------------------------------------------------
/* pdu_session_update_sm_context_request */
std
::
string
pdu_session_update_sm_context_request
::
get_n2_sm_information
()
const
{
return
n2_sm_information
;
return
m_
n2_sm_information
;
}
//-----------------------------------------------------------------------------
void
pdu_session_update_sm_context_request
::
set_n2_sm_information
(
std
::
string
const
&
value
){
n2_sm_information
=
value
;
m_
n2_sm_information
=
value
;
m_n2_sm_info_is_set
=
true
;
}
//-----------------------------------------------------------------------------
std
::
string
pdu_session_update_sm_context_request
::
get_n2_sm_info_type
()
const
{
return
n2_sm_info_type
;
return
m_
n2_sm_info_type
;
}
//-----------------------------------------------------------------------------
void
pdu_session_update_sm_context_request
::
set_n2_sm_info_type
(
std
::
string
const
&
value
){
n2_sm_info_type
=
value
;
m_
n2_sm_info_type
=
value
;
m_n2_sm_info_is_set
=
true
;
}
//-----------------------------------------------------------------------------
std
::
string
pdu_session_update_sm_context_request
::
get_n1_sm_message
()
const
{
return
n1_sm_message
;
return
m_
n1_sm_message
;
}
//-----------------------------------------------------------------------------
void
pdu_session_update_sm_context_request
::
set_n1_sm_message
(
std
::
string
const
&
value
){
n1_sm_message
=
value
;
m_
n1_sm_message
=
value
;
m_n1_sm_msg_is_set
=
true
;
}
...
...
@@ -458,6 +463,19 @@ void pdu_session_update_sm_context_request::set_an_type(std::string const& value
m_an_type
=
value
;
}
//-----------------------------------------------------------------------------
procedure_transaction_id_t
pdu_session_update_sm_context_response
::
get_pti
()
const
{
return
m_pti
;
}
//-----------------------------------------------------------------------------
void
pdu_session_update_sm_context_response
::
set_pti
(
procedure_transaction_id_t
const
&
pti
)
{
m_pti
=
pti
;
}
//-----------------------------------------------------------------------------
void
pdu_session_update_sm_context_response
::
set_cause
(
uint8_t
cause
)
{
...
...
@@ -472,12 +490,12 @@ uint8_t pdu_session_update_sm_context_response::get_cause(){
//-----------------------------------------------------------------------------
std
::
string
pdu_session_update_sm_context_response
::
get_n2_sm_information
()
const
{
return
n2_sm_information
;
return
m_
n2_sm_information
;
}
//-----------------------------------------------------------------------------
void
pdu_session_update_sm_context_response
::
set_n2_sm_information
(
std
::
string
const
&
value
){
n2_sm_information
=
value
;
m_
n2_sm_information
=
value
;
}
//-----------------------------------------------------------------------------
...
...
@@ -493,12 +511,12 @@ void pdu_session_update_sm_context_response::set_n2_sm_info_type(std::string con
//-----------------------------------------------------------------------------
std
::
string
pdu_session_update_sm_context_response
::
get_n1_sm_message
()
const
{
return
n1_sm_message
;
return
m_
n1_sm_message
;
}
//-----------------------------------------------------------------------------
void
pdu_session_update_sm_context_response
::
set_n1_sm_message
(
std
::
string
const
&
value
){
n1_sm_message
=
value
;
m_
n1_sm_message
=
value
;
m_n1_sm_msg_is_set
=
true
;
}
...
...
src/smf_app/smf_msg.hpp
View file @
87176c72
This diff is collapsed.
Click to expand it.
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