1package com.runehive.net;
3import com.runehive.Config;
4import io.netty.channel.ChannelHandlerContext;
5import io.netty.channel.SimpleChannelInboundHandler;
6import io.netty.handler.codec.haproxy.HAProxyMessage;
15 final HAProxyMessage msg) {
16 switch (msg.command()) {
17 case LOCAL -> ctx.close();
19 final String sourceAddress = msg.sourceAddress();
20 if (sourceAddress !=
null) {
The class that contains setting-related constants for the server.
static final AttributeKey< String > SOURCE_ADDRESS
void channelRead0(final ChannelHandlerContext ctx, final HAProxyMessage msg)