Ray Milkey | 2e78d90 | 2016-03-01 09:35:36 -0800 | [diff] [blame] | 1 | /* |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | * Copyright 2016-present Open Networking Laboratory |
Ray Milkey | 2e78d90 | 2016-03-01 09:35:36 -0800 | [diff] [blame] | 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 | */ |
| 16 | package org.onosproject.net.behaviour; |
| 17 | |
Saurav Das | 2443119 | 2016-03-07 19:13:00 -0800 | [diff] [blame] | 18 | import java.util.List; |
| 19 | |
Ray Milkey | 2e78d90 | 2016-03-01 09:35:36 -0800 | [diff] [blame] | 20 | import org.onosproject.net.DeviceId; |
| 21 | import org.onosproject.net.driver.DriverData; |
| 22 | import org.onosproject.net.driver.DriverHandler; |
| 23 | import org.onosproject.net.flowobjective.FilteringObjective; |
| 24 | import org.onosproject.net.flowobjective.ForwardingObjective; |
| 25 | import org.onosproject.net.flowobjective.NextObjective; |
| 26 | |
| 27 | /** |
| 28 | * Testing adapter for pipeliner class. |
| 29 | */ |
| 30 | public class PipelinerAdapter implements Pipeliner { |
| 31 | @Override |
| 32 | public void init(DeviceId deviceId, PipelinerContext context) { |
| 33 | |
| 34 | } |
| 35 | |
| 36 | @Override |
| 37 | public void filter(FilteringObjective filterObjective) { |
| 38 | |
| 39 | } |
| 40 | |
| 41 | @Override |
| 42 | public void forward(ForwardingObjective forwardObjective) { |
| 43 | |
| 44 | } |
| 45 | |
| 46 | @Override |
| 47 | public void next(NextObjective nextObjective) { |
| 48 | |
| 49 | } |
| 50 | |
| 51 | @Override |
| 52 | public DriverHandler handler() { |
| 53 | return null; |
| 54 | } |
| 55 | |
| 56 | @Override |
| 57 | public void setHandler(DriverHandler handler) { |
| 58 | |
| 59 | } |
| 60 | |
| 61 | @Override |
| 62 | public DriverData data() { |
| 63 | return null; |
| 64 | } |
| 65 | |
| 66 | @Override |
| 67 | public void setData(DriverData data) { |
| 68 | |
| 69 | } |
Saurav Das | 2443119 | 2016-03-07 19:13:00 -0800 | [diff] [blame] | 70 | |
| 71 | @Override |
| 72 | public List<String> getNextMappings(NextGroup nextGroup) { |
| 73 | return null; |
| 74 | } |
Ray Milkey | 2e78d90 | 2016-03-01 09:35:36 -0800 | [diff] [blame] | 75 | } |