1%%
2%% %CopyrightBegin%
3%%
4%% Copyright Ericsson AB 2019-2019. All Rights Reserved.
5%%
6%% Licensed under the Apache License, Version 2.0 (the "License");
7%% you may not use this file except in compliance with the License.
8%% You may obtain a copy of the License at
9%%
10%%     http://www.apache.org/licenses/LICENSE-2.0
11%%
12%% Unless required by applicable law or agreed to in writing, software
13%% distributed under the License is distributed on an "AS IS" BASIS,
14%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15%% See the License for the specific language governing permissions and
16%% limitations under the License.
17%%
18%% %CopyrightEnd%
19%%
20
21-module(snmp_agent_test_get).
22
23-behaviour(snmpa_get_mechanism).
24
25
26%%%-----------------------------------------------------------------
27%%% snmpa_get_mechanism exports
28%%%-----------------------------------------------------------------
29
30-export([
31         do_get/3, do_get/4,
32         do_get_next/3,
33         do_get_bulk/7
34        ]).
35
36
37
38do_get(UnsortedVarbinds, IsNotification, Extra) ->
39    snmpa_get:do_get(UnsortedVarbinds, IsNotification, Extra).
40
41
42
43do_get(MibView, UnsortedVarbinds, IsNotification, Extra) ->
44    snmpa_get:do_get(MibView, UnsortedVarbinds, IsNotification, Extra).
45
46
47
48do_get_next(MibView, UnsortedVBs, Extra) ->
49    snmpa_get:do_get_next(MibView, UnsortedVBs, Extra).
50
51
52
53
54do_get_bulk(MibView, NonRepeaters, MaxRepetitions,
55            PduMS, Varbinds, GbMaxVBs, Extra) ->
56    snmpa_get:do_get_bulk(MibView, NonRepeaters, MaxRepetitions,
57                          PduMS, Varbinds, GbMaxVBs,
58                          Extra).
59