lte/gateway/c/session_manager/test/test_sessiond_integ.cpp
// Take the SessionID from the request as it is generated internally
Take the SessionID from the request as it is generated internally
Take the SessionID from the request as it is generated internally
ACTION_P(SetUpdateSessionResponse, quota) {
  auto req = static_cast<const UpdateSessionRequest*>(arg1)->updates(0);
  auto res = static_cast<UpdateSessionResponse*>(arg2);
  auto imsi = req.common_context().sid().id();
  auto session_id = req.session_id();
  create_credit_update_response(imsi, session_id, 1, quota,
                                res->mutable_responses()->Add());
}
ACTION_P ( SetUpdateSessionResponse , quota ) { auto req = static_cast < const UpdateSessionRequest * > ( arg1 ) -> updates ( 0 ) ; auto res = static_cast < UpdateSessionResponse * > ( arg2 ) ; auto imsi = req . common_context ( ) . sid ( ) . id ( ) ; auto session_id = req . session_id ( ) ; create_credit_update_response ( imsi , session_id , 1 , quota , res -> mutable_responses ( ) -> Add ( ) ) ; }
Take the SessionID from the request as it is generated internally
Take the SessionID from the request as it is generated internally