blob: 042e4f56f0601b9e386cd3bad19c47b9bd51fd39 [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
Ray Milkey3b4ea052016-10-19 11:28:49 -070058 public WalkResponse getTableRowsForColumns(IVariableBindingHandler iVariableBindingHandler,
59 Map<String, OID[]> map) {
60 return null;
61 }
62
63 @Override
Andrea Campanella58454b92016-04-01 15:19:00 -070064 public WalkResponse getTableRows(IVariableBindingHandler networkDevice,
65 Map<DeviceEntityDescription, List<OID>> tableIndexes)
66 throws IOException {
67 return null;
68 }
69
70 @Override
71 public InetAddress getAddress() {
72 return null;
73 }
74
75 @Override
76 public void close() throws IOException {
77
78 }
79
80 @Override
81 public void setVariables(VariableBinding[] bindings) {
82
83 }
84
85 @Override
86 public void checkErrorCodeAndDescription() throws SnmpIoException {
87
88 }
Ray Milkey3b4ea052016-10-19 11:28:49 -070089}