Class GeyserBungeeInjector
java.lang.Object
org.geysermc.geyser.network.netty.GeyserInjector
org.geysermc.geyser.platform.bungeecord.GeyserBungeeInjector
- All Implemented Interfaces:
net.md_5.bungee.api.plugin.Listener
public class GeyserBungeeInjector
extends org.geysermc.geyser.network.netty.GeyserInjector
implements net.md_5.bungee.api.plugin.Listener
-
Field Summary
Fields inherited from class org.geysermc.geyser.network.netty.GeyserInjector
localChannel, serverSocketAddress -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitializeLocalChannel0(org.geysermc.geyser.GeyserBootstrap bootstrap) voidonProxyReload(net.md_5.bungee.api.event.ProxyReloadEvent event) The reload process clears the listeners field.voidshutdown()Methods inherited from class org.geysermc.geyser.network.netty.GeyserInjector
getServerSocketAddress, initializeLocalChannel
-
Constructor Details
-
GeyserBungeeInjector
public GeyserBungeeInjector(net.md_5.bungee.api.plugin.Plugin plugin)
-
-
Method Details
-
initializeLocalChannel0
protected void initializeLocalChannel0(org.geysermc.geyser.GeyserBootstrap bootstrap) throws Exception - Specified by:
initializeLocalChannel0in classorg.geysermc.geyser.network.netty.GeyserInjector- Throws:
Exception
-
shutdown
public void shutdown()- Overrides:
shutdownin classorg.geysermc.geyser.network.netty.GeyserInjector
-
onProxyReload
public void onProxyReload(net.md_5.bungee.api.event.ProxyReloadEvent event) The reload process clears the listeners field. Since we need to add to the listeners for maximum compatibility, we also need to re-add and re-enable our listener if a reload is initiated.
-