From 573f4d1b4b9f9e04ddc574cef81265bf3abda038 Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Wed, 17 Jun 2020 21:56:00 -0700 Subject: [PATCH] Added reliable ChannelHandlers to server ChannelPipeline --- server/netty/src/com/riiablo/server/netty/Main.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/netty/src/com/riiablo/server/netty/Main.java b/server/netty/src/com/riiablo/server/netty/Main.java index e0cf604d..3a25a0cd 100644 --- a/server/netty/src/com/riiablo/server/netty/Main.java +++ b/server/netty/src/com/riiablo/server/netty/Main.java @@ -77,6 +77,7 @@ public class Main extends ApplicationAdapter { @Override protected void initChannel(DatagramChannel ch) { ch.pipeline() + .addLast(new ReliableInboundHandler()) .addLast(new PacketHandler() { final String TAG = "PacketHandler$1"; @@ -109,6 +110,7 @@ public class Main extends ApplicationAdapter { } } }) + .addLast(new ReliableOutboundHandler()) ; } })