Development of NETCONF RPCs for tr-069 adapter to
[oam/tr069-adapter.git] / mapper / src / main / java / org / commscope / tr069adapter / mapper / netconf / NetConfRequestHandler.java
1 /*
2  * ============LICENSE_START========================================================================
3  * ONAP : tr-069-adapter
4  * =================================================================================================
5  * Copyright (C) 2020 CommScope Inc Intellectual Property.
6  * =================================================================================================
7  * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,
8  * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You
9  * may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
14  * either express or implied. See the License for the specific language governing permissions and
15  * limitations under the License.
16  * ===============LICENSE_END=======================================================================
17  */
18
19 package org.commscope.tr069adapter.mapper.netconf;
20
21 import org.commscope.tr069adapter.mapper.model.NetConfRequest;
22 import org.commscope.tr069adapter.mapper.model.NetConfResponse;
23 import org.commscope.tr069adapter.mapper.model.NetConfServerDetails;
24
25 public interface NetConfRequestHandler {
26
27   public NetConfResponse handleSetConfigRequest(NetConfRequest request);
28
29   public NetConfResponse handleGetRequest(NetConfRequest request);
30
31   public NetConfResponse handleGetConfigRequest(NetConfRequest request);
32
33   public NetConfResponse handleDelConfigRequest(NetConfRequest request);
34
35   public boolean handelRegisterEvent(NetConfServerDetails request);
36
37   public NetConfResponse handleSWDownloadRequest(NetConfRequest request);
38
39   public NetConfResponse handleAddObjectRequest(NetConfRequest request);
40
41   public NetConfResponse handleDeleteObjectRequest(NetConfRequest request);
42
43   public NetConfResponse handleRequestWithoutInputParams(NetConfRequest request);
44
45   public NetConfResponse handleSPAObjectRequest(NetConfRequest request);
46
47   public NetConfResponse handleConnectionStatusRequest(NetConfRequest request);
48
49   public NetConfResponse handleGPAObjectRequest(NetConfRequest request);
50
51   public NetConfResponse handleDownloadRequest(NetConfRequest request);
52
53 }