blob: 721370238331e2e92f7b2eb109b2de7562fc922a [file] [log] [blame]
Jian Li152b8852015-12-07 14:47:25 -08001/*
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.openflow.controller.driver;
17
18
19
20import org.projectfloodlight.openflow.protocol.OFStatsRequest;
21import org.projectfloodlight.openflow.protocol.OFStatsType;
22import org.projectfloodlight.openflow.protocol.OFType;
23import org.projectfloodlight.openflow.protocol.OFStatsReplyFlags;
24
25import java.util.Set;
26
27/**
28 * Mock of the Open Flow stats request message.
29 */
30public class MockOfStatsRequest extends OfMessageAdapter implements OFStatsRequest {
31
32 public MockOfStatsRequest() {
33 super(OFType.STATS_REQUEST);
34 }
35
36 @Override
37 public OFStatsType getStatsType() {
38 return null;
39 }
40
41 @Override
42 public Set<OFStatsReplyFlags> getFlags() {
43 return null;
44 }
45
46 @Override
47 public OFStatsRequest.Builder createBuilder() {
48 return null;
49 }
50}