Saurav Das | f710bd3 | 2014-09-25 16:56:00 -0700 | [diff] [blame^] | 1 | package net.onrc.onos.core.matchaction.match; |
2 | |||||
3 | import net.onrc.onos.core.util.IPv4Net; | ||||
4 | |||||
5 | public class Ipv4Match implements Match { | ||||
6 | |||||
7 | IPv4Net dstIp; | ||||
8 | |||||
9 | public Ipv4Match(String ipAddressSlash) { | ||||
10 | this.dstIp = new IPv4Net(ipAddressSlash); | ||||
11 | } | ||||
12 | |||||
13 | public IPv4Net getDestination() { | ||||
14 | return dstIp; | ||||
15 | } | ||||
16 | |||||
17 | } |