Added RIC subsequent Action and time to Wait in subscription request
[ric-app/admin.git] / src / E2AP-c / subscription / subscription_helper.hpp
index 433f0ca..80bfb5c 100644 (file)
 #include <vector>
 #include <memory>
 
+
+// Note : if no action definition specified, octet length of action definition  is NULL
+// If no subsequent action specified, default is subsequent_action = 0, time to wait is 0
 struct Action {
 
 public:
   
-  Action(int id, int type): _is_def(false), _is_subs_act(false), _id(id), _type(type){};
+  Action(int id, int type): _is_def(false), _is_subs_act(false), _id(id), _type(type), _next_action(0), _wait(0){};
   Action(int id, int type, const void *def, size_t def_size, int next, int wait): _is_def(false), _is_subs_act(false), _id(id), _type(type){
     
     if (def_size > 0){