Class BedrockNetworkStackLatencyTranslator
java.lang.Object
org.geysermc.geyser.translator.protocol.PacketTranslator<com.nukkitx.protocol.bedrock.packet.NetworkStackLatencyPacket>
org.geysermc.geyser.translator.protocol.bedrock.BedrockNetworkStackLatencyTranslator
public class BedrockNetworkStackLatencyTranslator
extends PacketTranslator<com.nukkitx.protocol.bedrock.packet.NetworkStackLatencyPacket>
Used to send the forwarded keep alive packet back to the server
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
translate(GeyserSession session, com.nukkitx.protocol.bedrock.packet.NetworkStackLatencyPacket packet)
Methods inherited from class org.geysermc.geyser.translator.protocol.PacketTranslator
shouldExecuteInEventLoop
-
Constructor Details
-
BedrockNetworkStackLatencyTranslator
public BedrockNetworkStackLatencyTranslator()
-
-
Method Details
-
translate
public void translate(GeyserSession session, com.nukkitx.protocol.bedrock.packet.NetworkStackLatencyPacket packet)- Specified by:
translate
in classPacketTranslator<com.nukkitx.protocol.bedrock.packet.NetworkStackLatencyPacket>
-