/* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */ package org.openflow.lib; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.ByteToMessageDecoder; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author michal.polkorab * */ public class DummyDecoder extends ByteToMessageDecoder { private static final Logger LOGGER = LoggerFactory .getLogger(DummyDecoder.class); @Override protected void decode(ChannelHandlerContext ctx, ByteBuf in, List out) throws Exception { LOGGER.debug("decoding"); ctx.fireChannelReadComplete(); } }