Package org.geysermc.geyser.session
Class DownstreamSession
java.lang.Object
org.geysermc.geyser.session.DownstreamSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisconnect(net.kyori.adventure.text.Component reason) voiddisconnect(net.kyori.adventure.text.Component reason, Throwable throwable) org.geysermc.mcprotocollib.network.ClientSessionbooleanisClosed()voidsendPacket(@NonNull org.geysermc.mcprotocollib.network.packet.Packet packet)
-
Constructor Details
-
DownstreamSession
public DownstreamSession(org.geysermc.mcprotocollib.network.ClientSession session)
-
-
Method Details
-
sendPacket
public void sendPacket(@NonNull org.geysermc.mcprotocollib.network.packet.Packet packet) -
disconnect
public void disconnect(net.kyori.adventure.text.Component reason) -
disconnect
-
isClosed
public boolean isClosed() -
getSession
public org.geysermc.mcprotocollib.network.ClientSession getSession()
-