blob: a158f91b62d50aa0e15d322c784e37332bb37430 [file] [log] [blame]
Ray Milkey278e75b2017-04-05 14:11:06 -07001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2017-present Open Networking Foundation
Ray Milkey278e75b2017-04-05 14:11:06 -07003 *
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}