X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Bouncer%2Fsrc%2Fxapp-formats%2Fe2ap%2Fe2ap_control.hpp;fp=Bouncer%2Fsrc%2Fxapp-formats%2Fe2ap%2Fe2ap_control.hpp;h=0000000000000000000000000000000000000000;hb=fbc7e3ad84fc7269233a2f0b5d416cb1c6f8a6ea;hp=57a2e2d8720defb3c5c1c104c29b5ed871e11ef3;hpb=eb27c05c05b5042d115480c40cffa16e7d473d80;p=ric-app%2Fbouncer.git diff --git a/Bouncer/src/xapp-formats/e2ap/e2ap_control.hpp b/Bouncer/src/xapp-formats/e2ap/e2ap_control.hpp deleted file mode 100644 index 57a2e2d..0000000 --- a/Bouncer/src/xapp-formats/e2ap/e2ap_control.hpp +++ /dev/null @@ -1,66 +0,0 @@ -/* -================================================================================== - - Copyright (c) 2018-2019 AT&T Intellectual Property. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -================================================================================== -*/ -/* - * ric_indication.h - * - * Created on: Jul 11, 2019 - * Author: sjana, Ashwin Sridharan - */ - -#ifndef E2AP_RIC_CONTROL_REQUEST_H_ -#define E2AP_RIC_CONTROL_REQUEST_H_ - - -#include -#include -#include -#include -#include -#include -#include -#include -#include "e2ap_control_helper.hpp" - -#define NUM_CONTROL_REQUEST_IES 6 - - -class ric_control_request{ - -public: - ric_control_request(void); - ~ric_control_request(void); - - bool encode_e2ap_control_request(unsigned char *, size_t *, ric_control_helper &); - E2N_InitiatingMessage_t * get_message (void) ; - bool set_fields(E2N_InitiatingMessage_t *, ric_control_helper &); - bool get_fields(E2N_InitiatingMessage_t *, ric_control_helper &); - std::string get_error(void) const {return error_string ; }; -private: - - E2N_E2AP_PDU_t * e2ap_pdu_obj; - E2N_InitiatingMessage_t *initMsg; - E2N_RICcontrolRequest_IEs_t *IE_array; - std::string error_string; - - char errbuf[128]; - size_t errbuf_len = 128; -}; - - -#endif /* E2AP_RIC_CONTROL_REQUEST_H_ */