mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-19 16:57:20 +07:00
Added reliable ChannelHandlers to server ChannelPipeline
This commit is contained in:
parent
fc66d120d7
commit
573f4d1b4b
@ -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())
|
||||
;
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user