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.core;
11 import io.netty.buffer.ByteBuf;
12 import io.netty.channel.ChannelHandlerContext;
13 import io.netty.handler.codec.ByteToMessageDecoder;
15 import java.util.List;
17 import org.slf4j.Logger;
18 import org.slf4j.LoggerFactory;
21 * @author michal.polkorab
24 public class DummyDecoder extends ByteToMessageDecoder {
26 private static final Logger LOGGER = LoggerFactory
27 .getLogger(DummyDecoder.class);
30 protected void decode(ChannelHandlerContext ctx, ByteBuf in,
31 List<Object> out) throws Exception {
32 LOGGER.debug("decoding");
33 ctx.fireChannelReadComplete();