X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fxapp-formats%2Fe2ap%2Fsubscription_request.hpp;fp=src%2Fxapp-formats%2Fe2ap%2Fsubscription_request.hpp;h=0000000000000000000000000000000000000000;hb=271617d99c4e3d126d0745af02678b4ffab4912e;hp=28f419a12d85d757485f854ab94cd08f1b429b45;hpb=28b894594573ab1e7087ed8fb50b208d7b135b07;p=ric-app%2Fhw.git diff --git a/src/xapp-formats/e2ap/subscription_request.hpp b/src/xapp-formats/e2ap/subscription_request.hpp deleted file mode 100644 index 28f419a..0000000 --- a/src/xapp-formats/e2ap/subscription_request.hpp +++ /dev/null @@ -1,73 +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. -================================================================================== -*/ - -#pragma once - -#ifndef S_REQUEST_ -#define S_REQUEST_ - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "subscription_helper.hpp" - -#define NUM_SUBSCRIPTION_REQUEST_IES 3 -#define INITIAL_REQUEST_LIST_SIZE 4 - -class subscription_request{ -public: - - subscription_request(std::string name); - subscription_request(void); - ~subscription_request(void); - - bool encode_e2ap_subscription(unsigned char *, size_t *, subscription_helper &); - bool set_fields(E2N_InitiatingMessage_t *, subscription_helper &); - bool get_fields(E2N_InitiatingMessage_t *, subscription_helper &); - - std::string get_error(void) const{ - return error_string; - } - -private: - - E2N_InitiatingMessage_t *initMsg; - E2N_E2AP_PDU_t * e2ap_pdu_obj; - - E2N_RICsubscriptionRequest_IEs_t * IE_array; - E2N_RICaction_ToBeSetup_ItemIEs_t * action_array; - unsigned int action_array_size; - char errbuf[128]; - size_t errbuf_len = 128; - std::string _name; - std::string error_string; -}; - - - -#endif