blob: 73e83cdbf549af49e29cd38969e8d020e76d6e90 [file] [log] [blame]
Ray Milkey2e78d902016-03-01 09:35:36 -08001/*
2 * Copyright 2016 Open Networking Laboratory
3 *
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 */
16package org.onosproject.net.behaviour;
17
18import org.onosproject.net.DeviceId;
19import org.onosproject.net.driver.DriverData;
20import org.onosproject.net.driver.DriverHandler;
21import org.onosproject.net.flowobjective.FilteringObjective;
22import org.onosproject.net.flowobjective.ForwardingObjective;
23import org.onosproject.net.flowobjective.NextObjective;
24
25/**
26 * Testing adapter for pipeliner class.
27 */
28public class PipelinerAdapter implements Pipeliner {
29 @Override
30 public void init(DeviceId deviceId, PipelinerContext context) {
31
32 }
33
34 @Override
35 public void filter(FilteringObjective filterObjective) {
36
37 }
38
39 @Override
40 public void forward(ForwardingObjective forwardObjective) {
41
42 }
43
44 @Override
45 public void next(NextObjective nextObjective) {
46
47 }
48
49 @Override
50 public DriverHandler handler() {
51 return null;
52 }
53
54 @Override
55 public void setHandler(DriverHandler handler) {
56
57 }
58
59 @Override
60 public DriverData data() {
61 return null;
62 }
63
64 @Override
65 public void setData(DriverData data) {
66
67 }
68}