Andreas Wundsam | 40e14f7 | 2013-05-06 14:49:08 -0700 | [diff] [blame^] | 1 | package org.openflow.protocol; |
2 | |||||
3 | public enum OFVersion { | ||||
4 | OF_10(1), OF_11(2), OF_12(3), OF_13(4); | ||||
5 | |||||
6 | private 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 | } |