2 * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.
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
9 package org.opendaylight.openflowjava.protocol.impl.util;
11 import org.opendaylight.openflowjava.protocol.api.extensibility.MessageCodeKey;
13 import io.netty.buffer.ByteBuf;
16 * @author michal.polkorab
18 public interface CodeKeyMaker {
21 * @param input buffer that will be the needed data gathered from
22 * @return key for deserializer lookup
24 abstract MessageCodeKey make(ByteBuf input);