1 /* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */
\r
2 package org.openflow.lib;
\r
4 import io.netty.buffer.ByteBuf;
\r
5 import io.netty.channel.ChannelHandlerContext;
\r
6 import io.netty.handler.codec.ByteToMessageDecoder;
\r
8 import java.util.List;
\r
10 import org.slf4j.Logger;
\r
11 import org.slf4j.LoggerFactory;
\r
14 * @author michal.polkorab
\r
17 public class DummyDecoder extends ByteToMessageDecoder {
\r
19 private static final Logger LOGGER = LoggerFactory
\r
20 .getLogger(DummyDecoder.class);
\r
23 protected void decode(ChannelHandlerContext ctx, ByteBuf in,
\r
24 List<Object> out) throws Exception {
\r
25 LOGGER.debug("decoding");
\r
26 ctx.fireChannelReadComplete();
\r