blob: 908bd6f4f2cd911241390d8ec64d704b8a6303d1 [file] [log] [blame]
Ray Milkey278e75b2017-04-05 14:11:06 -07001/*
2 * Copyright 2017-present 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 */
16
17package org.onosproject.net.flow;
18
19import java.util.concurrent.TimeUnit;
20
21/**
22 * Testing adapter for stored flow entry class.
23 */
24public class StoredFlowEntryAdapter extends FlowEntryAdapter implements StoredFlowEntry {
25 @Override
26 public void setLastSeen() {
27
28 }
29
30 @Override
31 public void setState(FlowEntryState newState) {
32
33 }
34
35 @Override
36 public void setLife(long lifeSecs) {
37
38 }
39
40 @Override
41 public void setLife(long life, TimeUnit timeUnit) {
42
43 }
44
45 @Override
46 public void setLiveType(FlowLiveType liveType) {
47
48 }
49
50 @Override
51 public void setPackets(long packets) {
52
53 }
54
55 @Override
56 public void setBytes(long bytes) {
57
58 }
59}