BUG-4072: Echo reply missing
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / util / AbstractCodeKeyMaker.java
1 /*
2  * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.openflowjava.protocol.impl.util;
9
10 /**
11  * @author michal.polkorab
12  */
13 public abstract class AbstractCodeKeyMaker implements CodeKeyMaker {
14
15     private short version;
16
17     /**
18      * @param version openflow wire version
19      */
20     public AbstractCodeKeyMaker(short version) {
21         this.version = version;
22
23     }
24
25     /**
26      * @return the version
27      */
28     public short getVersion() {
29         return version;
30     }
31
32 }