Mass replace CRLF->LF
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / util / CodeKeyMaker.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.MessageCodeKey;
12
13 import io.netty.buffer.ByteBuf;
14
15 /**
16  * @author michal.polkorab
17  */
18 public interface CodeKeyMaker {
19
20     /**
21      * @param input buffer that will be the needed data gathered from
22      * @return key for deserializer lookup
23      */
24     abstract MessageCodeKey make(ByteBuf input);
25
26 }