public class ConnectorServerEventHandler extends Object implements com.nukkitx.protocol.bedrock.BedrockServerEventHandler
| Constructor and Description |
|---|
ConnectorServerEventHandler(GeyserConnector connector) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
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) |
public ConnectorServerEventHandler(GeyserConnector connector)
public boolean onConnectionRequest(InetSocketAddress inetSocketAddress)
onConnectionRequest in interface com.nukkitx.protocol.bedrock.BedrockServerEventHandlerpublic com.nukkitx.protocol.bedrock.BedrockPong onQuery(InetSocketAddress inetSocketAddress)
onQuery in interface com.nukkitx.protocol.bedrock.BedrockServerEventHandlerpublic void onSessionCreation(com.nukkitx.protocol.bedrock.BedrockServerSession bedrockServerSession)
onSessionCreation in interface com.nukkitx.protocol.bedrock.BedrockServerEventHandlerpublic void onUnhandledDatagram(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.socket.DatagramPacket packet)
onUnhandledDatagram in interface com.nukkitx.protocol.bedrock.BedrockServerEventHandlerCopyright © 2021 GeyserMC. All rights reserved.