X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Bouncer%2Fsrc%2Fxapp-asn%2Fe2ap%2Fsubscription_delete_response.hpp;fp=Bouncer%2Fsrc%2Fxapp-asn%2Fe2ap%2Fsubscription_delete_response.hpp;h=0000000000000000000000000000000000000000;hb=fbc7e3ad84fc7269233a2f0b5d416cb1c6f8a6ea;hp=14589e5283c9fe29cf44f2e4f9170f6339e0cd30;hpb=eb27c05c05b5042d115480c40cffa16e7d473d80;p=ric-app%2Fbouncer.git diff --git a/Bouncer/src/xapp-asn/e2ap/subscription_delete_response.hpp b/Bouncer/src/xapp-asn/e2ap/subscription_delete_response.hpp deleted file mode 100644 index 14589e5..0000000 --- a/Bouncer/src/xapp-asn/e2ap/subscription_delete_response.hpp +++ /dev/null @@ -1,79 +0,0 @@ -/* -================================================================================== - Copyright (c) 2019-2020 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_DEL_RESPONSE_ -#define S_DEL_RESPONSE_ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "response_helper.hpp" - -#define NUM_SUBSCRIPTION_DELETE_RESPONSE_IES 2 -#define NUM_SUBSCRIPTION_DELETE_FAILURE_IES 2 - -class subscription_delete_response { -public: - - subscription_delete_response(void); - ~subscription_delete_response(void); - - bool encode_e2ap_subscription_delete_response(unsigned char *, size_t *, subscription_response_helper &, bool); - bool set_fields(SuccessfulOutcome_t *, subscription_response_helper &); - bool get_fields(SuccessfulOutcome_t *, subscription_response_helper &); - - bool set_fields(UnsuccessfulOutcome_t *, subscription_response_helper &); - bool get_fields(UnsuccessfulOutcome_t *, subscription_response_helper &); - - std::string get_error_string(void) const { - return error_string; - } - -private: - - E2AP_PDU_t * e2ap_pdu_obj; - SuccessfulOutcome_t * successMsg; - UnsuccessfulOutcome_t * unsuccessMsg; - - - RICsubscriptionDeleteResponse_IEs_t *IE_array; - RICsubscriptionDeleteFailure_IEs_t *IE_Failure_array; - - - char errbuf[128]; - size_t errbuf_len = 128; - std::string error_string; - -}; - - - - -#endif