blob: 8318b6698632832ec6e356e9e08d74751674cf11 [file] [log] [blame]
tom8bb16062014-09-12 14:47:46 -07001package org.onlab.onos.net.flow;
tom613d8142014-09-11 15:09:37 -07002
3import org.onlab.onos.net.PortNumber;
4
5/**
6 * Abstraction of different kinds of treatment that can be applied to an
7 * outbound packet.
8 */
9public interface Treatment {
10
11 // TODO: implement these later: modifications, group
12 // TODO: elsewhere provide factory methods for some default treatments
13
14 /**
15 * Returns the port number where the packet should be emitted.
16 *
17 * @return output port number
18 */
19 PortNumber output();
20
21}