Remove trailing whitespace
[openflowjava.git] / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / core / DummyDecoder.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.core;
10
11 import io.netty.buffer.ByteBuf;
12 import io.netty.channel.ChannelHandlerContext;
13 import io.netty.handler.codec.ByteToMessageDecoder;
14
15 import java.util.List;
16
17 import org.slf4j.Logger;
18 import org.slf4j.LoggerFactory;
19
20 /**
21  * @author michal.polkorab
22  *
23  */
24 public class DummyDecoder extends ByteToMessageDecoder {
25
26     private static final Logger LOGGER = LoggerFactory
27             .getLogger(DummyDecoder.class);
28
29     @Override
30     protected void decode(ChannelHandlerContext ctx, ByteBuf in,
31             List<Object> out) throws Exception {
32         LOGGER.debug("decoding");
33         ctx.fireChannelReadComplete();
34     }
35
36 }