Mass replace CRLF->LF
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / util / AbstractTypeKeyMaker.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
9 package org.opendaylight.openflowjava.protocol.impl.util;
10
11
12 /**
13  * @author michal.polkorab
14  * @param <T> type the key maker is based on 
15  */
16 public abstract class AbstractTypeKeyMaker<T> implements TypeKeyMaker<T> {
17
18     private short version;
19
20     /**
21      * @param version openflow wire version
22      */
23     public AbstractTypeKeyMaker(short version) {
24         this.version = version;
25         
26     }
27
28     /**
29      * @return the version
30      */
31     public short getVersion() {
32         return version;
33     }
34
35 }