4d805d7b6fb69737b9fe705c1d683c97ef248dfc
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / queue / RegisteredTypeExtractor.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> parent type of message 
13  */
14 public interface RegisteredTypeExtractor<T> {
15     
16     /**
17      * @param message
18      * @return registered message type
19      */
20     public Class<? extends T> extractRegisteredType(T message);
21
22 }