2 ==================================================================================
4 Copyright (c) 2018-2019 AT&T Intellectual Property.
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 ==================================================================================
22 * Created on: Jul 11, 2019
23 * Author: sjana, Ashwin Sridharan
26 #ifndef E2AP_RIC_INDICATION_H_
27 #define E2AP_RIC_INDICATION_H_
32 #include <mdclog/mdclog.h>
34 #include <E2N_E2AP-PDU.h>
35 #include <E2N_InitiatingMessage.h>
36 #include <E2N_RICindication.h>
37 #include <E2N_ProtocolIE-Field.h>
38 #include "e2ap_indication_helper.hpp"
40 #define NUM_INDICATION_IES 8
48 ~ric_indication(void);
50 bool encode_e2ap_indication(unsigned char *, size_t *, ric_indication_helper &);
51 E2N_InitiatingMessage_t * get_message (void) ;
52 bool set_fields(E2N_InitiatingMessage_t *, ric_indication_helper &);
53 bool get_fields(E2N_InitiatingMessage_t *, ric_indication_helper &);
54 std::string get_error(void) const {return error_string ; };
58 E2N_E2AP_PDU_t * e2ap_pdu_obj;
59 E2N_InitiatingMessage_t *initMsg;
60 E2N_RICindication_IEs_t *IE_array;
61 std::string error_string;
63 size_t errbuf_len = 128;
67 #endif /* E2AP_RIC_INDICATION_H_ */