Committed by
Gerrit Code Review
Removed unnecessary unused interface.
Change-Id: Icb4a848ce790644a0c8695747f3777f1e0190eda
Showing
1 changed file
with
0 additions
and
36 deletions
1 | -/* | ||
2 | - * Copyright 2014 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 | -package org.onosproject.net.flow; | ||
17 | - | ||
18 | -import org.onosproject.net.PortNumber; | ||
19 | - | ||
20 | -/** | ||
21 | - * Abstraction of different kinds of treatment that can be applied to an | ||
22 | - * outbound packet. | ||
23 | - */ | ||
24 | -public interface Treatment { | ||
25 | - | ||
26 | - // TODO: implement these later: modifications, group | ||
27 | - // TODO: elsewhere provide factory methods for some default treatments | ||
28 | - | ||
29 | - /** | ||
30 | - * Returns the port number where the packet should be emitted. | ||
31 | - * | ||
32 | - * @return output port number | ||
33 | - */ | ||
34 | - PortNumber output(); | ||
35 | - | ||
36 | -} |
-
Please register or login to post a comment