blob: afe936b7515b6ac9da54087279b76a39f3a683f5 [file] [log] [blame]
Thomas Vachuska27bee092015-06-23 19:03:10 -07001/*
2 * Copyright 2015 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.packet;
17
18import org.onosproject.core.ApplicationId;
19import org.onosproject.net.flow.TrafficSelector;
20
21/**
22 * Test adapter for packet service.
23 */
24public class PacketServiceAdapter implements PacketService {
25 @Override
26 public void addProcessor(PacketProcessor processor, int priority) {
27 }
28
29 @Override
30 public void removeProcessor(PacketProcessor processor) {
31 }
32
33 @Override
34 public void requestPackets(TrafficSelector selector, PacketPriority priority, ApplicationId appId) {
35 }
36
37 @Override
38 public void cancelPackets(TrafficSelector selector, PacketPriority priority, ApplicationId appId) {
39 }
40
41 @Override
42 public void emit(OutboundPacket packet) {
43 }
44}