From 271359cbcaef50706344463ed37d6ae06c038476 Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Wed, 24 Jun 2020 15:22:18 -0700 Subject: [PATCH] Fixed log messages --- .../src/com/riiablo/net/reliable/ReliableChannelHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/netty/src/com/riiablo/net/reliable/ReliableChannelHandler.java b/server/netty/src/com/riiablo/net/reliable/ReliableChannelHandler.java index fd8a8583..8d3faf03 100644 --- a/server/netty/src/com/riiablo/net/reliable/ReliableChannelHandler.java +++ b/server/netty/src/com/riiablo/net/reliable/ReliableChannelHandler.java @@ -36,7 +36,7 @@ public class ReliableChannelHandler implements ChannelHandler, ChannelInboundHan protected void messageReceived(ChannelHandlerContext ctx, DatagramPacket packet) throws Exception { InetSocketAddress sender = packet.sender(); - Gdx.app.log(TAG, "channelRead0 received packet from " + sender.getHostName() + ":" + sender.getPort()); + Gdx.app.log(TAG, "messageReceived received packet from " + sender.getHostName() + ":" + sender.getPort()); ByteBuf in = packet.content(); if (DEBUG_INBOUND) Gdx.app.debug(TAG, " " + ByteBufUtil.hexDump(in)); endpoint.messageReceived(ctx, packet); @@ -44,7 +44,7 @@ public class ReliableChannelHandler implements ChannelHandler, ChannelInboundHan protected Object writeMessage(ChannelHandlerContext ctx, ByteBuf msg) throws Exception { InetSocketAddress receiver = (InetSocketAddress) ctx.channel().remoteAddress(); - Gdx.app.log(TAG, "channelWrite0 sending packet to " + receiver.getHostName() + ":" + receiver.getPort()); + Gdx.app.log(TAG, "writeMessage sending packet to " + receiver.getHostName() + ":" + receiver.getPort()); ByteBuf out = msg; if (DEBUG_OUTBOUND) Gdx.app.debug(TAG, " " + ByteBufUtil.hexDump(out)); return msg;