Class ConnectorServerEventHandler

java.lang.Object
org.geysermc.geyser.network.ConnectorServerEventHandler
All Implemented Interfaces:
com.nukkitx.protocol.bedrock.BedrockServerEventHandler

public class ConnectorServerEventHandler extends Object implements com.nukkitx.protocol.bedrock.BedrockServerEventHandler
  • Constructor Details

    • ConnectorServerEventHandler

      public ConnectorServerEventHandler(GeyserImpl geyser)
  • Method Details

    • onConnectionRequest

      public boolean onConnectionRequest(InetSocketAddress inetSocketAddress)
      Specified by:
      onConnectionRequest in interface com.nukkitx.protocol.bedrock.BedrockServerEventHandler
    • onQuery

      public com.nukkitx.protocol.bedrock.BedrockPong onQuery(InetSocketAddress inetSocketAddress)
      Specified by:
      onQuery in interface com.nukkitx.protocol.bedrock.BedrockServerEventHandler
    • onSessionCreation

      public void onSessionCreation(com.nukkitx.protocol.bedrock.BedrockServerSession bedrockServerSession)
      Specified by:
      onSessionCreation in interface com.nukkitx.protocol.bedrock.BedrockServerEventHandler
    • onUnhandledDatagram

      public void onUnhandledDatagram(@Nonnull io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.socket.DatagramPacket packet)
      Specified by:
      onUnhandledDatagram in interface com.nukkitx.protocol.bedrock.BedrockServerEventHandler