Renamed a class.

This commit is contained in:
ProfMobius committed 2014-10-03 17:14:14 +02:00
1 parent f32a771e6b
commit 572d0158cb
2 files changed
+2 -4

No files matched your search

@@ -40,7 +40,7 @@ public class RConServer implements Runnable {
class ChannelInit extends ChannelInitializer<SocketChannel>{
@Override
protected void initChannel(SocketChannel ch) throws Exception {
ch.pipeline().addLast(new RconMsgColater(), new RConInboundHandler());
ch.pipeline().addLast(new RconMsgDecoder(), new RConInboundHandler());
}
}
@@ -102,8 +102,6 @@ public class RConServer implements Runnable {
buf.writeBytes(data);
ctx.write(buf);
ctx.flush();
modOpis.log.info(String.format("%s", data.length));
}
}
@@ -10,7 +10,7 @@ import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.ByteToMessageDecoder;
public class RconMsgColater extends ByteToMessageDecoder {
public class RconMsgDecoder extends ByteToMessageDecoder {
@Override
protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws Exception {