Package org.geysermc.geyser.network
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onConnectionRequest(InetSocketAddress inetSocketAddress)
com.nukkitx.protocol.bedrock.BedrockPong
onQuery(InetSocketAddress inetSocketAddress)
void
onSessionCreation(com.nukkitx.protocol.bedrock.BedrockServerSession bedrockServerSession)
void
onUnhandledDatagram(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.socket.DatagramPacket packet)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.nukkitx.protocol.bedrock.BedrockServerEventHandler
onConnectionRequest
-
Constructor Details
-
ConnectorServerEventHandler
-
-
Method Details
-
onConnectionRequest
- Specified by:
onConnectionRequest
in interfacecom.nukkitx.protocol.bedrock.BedrockServerEventHandler
-
onQuery
- Specified by:
onQuery
in interfacecom.nukkitx.protocol.bedrock.BedrockServerEventHandler
-
onSessionCreation
public void onSessionCreation(com.nukkitx.protocol.bedrock.BedrockServerSession bedrockServerSession)- Specified by:
onSessionCreation
in interfacecom.nukkitx.protocol.bedrock.BedrockServerEventHandler
-
onUnhandledDatagram
public void onUnhandledDatagram(@Nonnull io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.socket.DatagramPacket packet)- Specified by:
onUnhandledDatagram
in interfacecom.nukkitx.protocol.bedrock.BedrockServerEventHandler
-