Brian O'Connor | 7f8e301 | 2014-02-15 23:59:29 -0800 | [diff] [blame^] | 1 | package net.onrc.onos.intent; |
2 | |||||
3 | import net.onrc.onos.ofcontroller.networkgraph.Port; | ||||
4 | |||||
5 | /** | ||||
6 | * | ||||
7 | * @author Brian O'Connor <bocon@onlab.us> | ||||
8 | * | ||||
9 | */ | ||||
10 | |||||
11 | class ForwardAction extends Action { | ||||
12 | protected Port dstPort; | ||||
13 | |||||
14 | public ForwardAction(Port dstPort) { | ||||
15 | this.dstPort = dstPort; | ||||
16 | } | ||||
17 | |||||
18 | public String toString() { | ||||
19 | return dstPort.toString(); | ||||
20 | } | ||||
21 | |||||
22 | } |