Mass replace CRLF->LF
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / util / TypeKeyMaker.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 import org.opendaylight.openflowjava.protocol.api.extensibility.MessageTypeKey;
12
13 /**
14  * @author michal.polkorab
15  * @param <T> 
16  */
17 public interface TypeKeyMaker<T> {
18
19     /**
20      * @param entry
21      * @return key that will be used for serializer lookup in 
22      * the serializer registry
23      */
24     abstract MessageTypeKey<?> make(T entry);
25
26 }