Class DownstreamSession

java.lang.Object
org.geysermc.geyser.session.DownstreamSession

public class DownstreamSession extends Object
  • Constructor Details

    • DownstreamSession

      public DownstreamSession(com.github.steveice10.packetlib.tcp.TcpSession session)
  • Method Details

    • sendPacket

      public void sendPacket(@NonNull com.github.steveice10.packetlib.packet.Packet packet)
    • disconnect

      public void disconnect(String reason)
    • disconnect

      public void disconnect(String reason, Throwable throwable)
    • isClosed

      public boolean isClosed()
    • getCodecHelper

      public com.github.steveice10.mc.protocol.codec.MinecraftCodecHelper getCodecHelper()
      Gets the codec helper for this session.
      Returns:
      the codec helper for this session
    • getSession

      public com.github.steveice10.packetlib.tcp.TcpSession getSession()