Yotam Harchol | f3f1115 | 2013-09-05 16:47:16 -0700 | [diff] [blame] | 1 | package org.projectfloodlight.openflow.protocol; |
2 | |||||
3 | public enum OFVersion { | ||||
Andreas Wundsam | 439cbe4 | 2014-10-10 21:29:32 -0700 | [diff] [blame] | 4 | OF_10(1), OF_11(2), OF_12(3), OF_13(4), OF_14(5); |
Yotam Harchol | f3f1115 | 2013-09-05 16:47:16 -0700 | [diff] [blame] | 5 | |
6 | public final int wireVersion; | ||||
7 | |||||
8 | OFVersion(final int wireVersion) { | ||||
9 | this.wireVersion = wireVersion; | ||||
10 | } | ||||
11 | |||||
12 | public int getWireVersion() { | ||||
13 | return wireVersion; | ||||
14 | } | ||||
15 | |||||
16 | } |