2 * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
9 package org.opendaylight.openflowjava.protocol.impl.util;
\r
13 * @author michal.polkorab
\r
14 * @param <T> type the key maker is based on
\r
16 public abstract class AbstractCodeKeyMaker implements CodeKeyMaker {
\r
18 private short version;
\r
21 * @param version openflow wire version
\r
23 public AbstractCodeKeyMaker(short version) {
\r
24 this.version = version;
\r
29 * @return the version
\r
31 public short getVersion() {
\r