blob: b30136c866adb0e4282a8f8b14be8fe8abbe5e71 [file] [log] [blame]
Andrea Campanella58454b92016-04-01 15:19:00 -07001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2016-present Open Networking Laboratory
Andrea Campanella58454b92016-04-01 15:19:00 -07003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package org.onosproject.snmp.ctl;
18
19import com.btisystems.pronx.ems.core.model.DeviceEntityDescription;
20import com.btisystems.pronx.ems.core.snmp.ISnmpSession;
21import com.btisystems.pronx.ems.core.snmp.IVariableBindingHandler;
22import com.btisystems.pronx.ems.core.snmp.SnmpIoException;
23import com.btisystems.pronx.ems.core.snmp.WalkResponse;
24import org.snmp4j.smi.OID;
25import org.snmp4j.smi.VariableBinding;
26
27import java.io.IOException;
28import java.net.InetAddress;
29import java.util.List;
30import java.util.Map;
31
32/**
33 * AdapterClass for ISnmpSession.
34 */
35public class ISnmpSessionAdapter implements ISnmpSession {
36 @Override
37 public String identifyDevice() {
38 return null;
39 }
40
41 @Override
42 public String getVariable(String oid) {
43 return null;
44 }
45
46 @Override
47 public Integer getVariableAsInt(String oid) {
48 return null;
49 }
50
51 @Override
52 public WalkResponse walkDevice(IVariableBindingHandler networkDevice, List<OID> oids)
53 throws IOException {
54 return null;
55 }
56
57 @Override
Thiago Santosc89ba3f2016-10-20 13:15:17 -030058 public WalkResponse walkDevice(IVariableBindingHandler networkDevice, List<OID> oids,
59 List<OID> excludeRootColumnOids) {
60 return null;
61 }
62
63 @Override
Ray Milkey3b4ea052016-10-19 11:28:49 -070064 public WalkResponse getTableRowsForColumns(IVariableBindingHandler iVariableBindingHandler,
65 Map<String, OID[]> map) {
66 return null;
67 }
68
69 @Override
Andrea Campanella58454b92016-04-01 15:19:00 -070070 public WalkResponse getTableRows(IVariableBindingHandler networkDevice,
71 Map<DeviceEntityDescription, List<OID>> tableIndexes)
72 throws IOException {
73 return null;
74 }
75
76 @Override
77 public InetAddress getAddress() {
78 return null;
79 }
80
81 @Override
82 public void close() throws IOException {
83
84 }
85
86 @Override
87 public void setVariables(VariableBinding[] bindings) {
88
89 }
90
91 @Override
92 public void checkErrorCodeAndDescription() throws SnmpIoException {
93
94 }
Ray Milkey3b4ea052016-10-19 11:28:49 -070095}