0c9f830d843d47bf6d7e1d5aa9c760057c7cf99d
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / queue / VersionExtractor.java
1 /**
2  * Copyright (c) 2013 Cisco Systems, Inc. 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.openflowplugin.openflow.md.queue;
9
10 /**
11  * @author mirehak
12  * @param <T> message type
13  *
14  */
15 public interface VersionExtractor<T> {
16
17     /**
18      * @param message
19      * @return version of message
20      */
21     Short extractVersion(T message);
22 }