net.minecraft.server.network

public abstract class ServerCommonPacketListenerImpl

implements ServerCommonPacketListener

ath
net.minecraft.server.network.ServerCommonPacketListenerImpl
net.minecraft.class_8609
net.minecraft.server.network.ServerCommonNetworkHandler
net.minecraft.server.network.ServerCommonPacketListenerImpl

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
f
LOGGER
field_45014
LOGGER
public static final int
b
LATENCY_CHECK_INTERVAL
field_45011
KEEP_ALIVE_INTERVAL
private static final int
g
CLOSED_LISTENER_TIMEOUT
field_51342
TRANSITION_TIMEOUT
private static final Component
h
TIMEOUT_DISCONNECTION_MESSAGE
field_45015
TIMEOUT_TEXT
static final Component
c
DISCONNECT_UNEXPECTED_QUERY
field_48273
UNEXPECTED_QUERY_RESPONSE_TEXT
protected final MinecraftServer
d
server
field_45012
server
protected final Connection
e
connection
field_45013
connection
private final boolean
i
transferred
field_48274
transferred
private long
j
keepAliveTime
field_45016
lastKeepAliveTime
private boolean
k
keepAlivePending
field_45017
waitingForKeepAlive
private long
l
keepAliveChallenge
field_45018
keepAliveId
private long
m
closedListenerTime
field_51343
transitionStartTime
private boolean
n
closed
field_51344
transitioning
private int
o
latency
field_45019
latency
private volatile boolean
p
suspendFlushingOnServerThread
field_45715
flushDisabled

Constructor summary

ModifierConstructor
public (MinecraftServer server, Connection connection, CommonListenerCookie clientData)

Method summary

Modifier and TypeMethod
private void
l()
close()
method_59512()
markTransitionTime()
public void
a(wr arg0)
onDisconnect(DisconnectionDetails arg0)
method_10839(class_9812 arg0)
onDisconnected(DisconnectionInfo arg0)
public void
a(aac arg0, Exception arg1)
onPacketError(Packet arg0, Exception arg1)
method_59807(class_2596 arg0, Exception arg1)
onPacketException(Packet arg0, Exception arg1)
public void
a(aay arg0)
handleKeepAlive(ServerboundKeepAlivePacket arg0)
method_52393(class_2827 arg0)
onKeepAlive(KeepAliveC2SPacket arg0)
public void
a(aaz arg0)
handlePong(ServerboundPongPacket arg0)
method_52394(class_6374 arg0)
onPong(CommonPongC2SPacket arg0)
public void
a(aax arg0)
handleCustomPayload(ServerboundCustomPayloadPacket arg0)
method_52392(class_2817 arg0)
onCustomPayload(CustomPayloadC2SPacket arg0)
public void
a(aba arg0)
handleResourcePackResponse(ServerboundResourcePackPacket arg0)
method_52395(class_2856 arg0)
onResourcePackStatus(ResourcePackStatusC2SPacket arg0)
public void
a(acp arg0)
handleCookieResponse(ServerboundCookieResponsePacket arg0)
method_55851(class_9091 arg0)
onCookieResponse(CookieResponseC2SPacket arg0)
protected void
e()
keepConnectionAlive()
method_52400()
baseTick()
private boolean
a(long arg0)
checkIfClosed(long arg0)
method_59511(long arg0)
checkTransitionTimeout(long time)
public void
f()
suspendFlushing()
method_53046()
disableFlush()
public void
g()
resumeFlushing()
method_53047()
enableFlush()
public void
b(aac<?> arg0)
send(Packet<?> arg0)
method_14364(class_2596<?> arg0)
sendPacket(Packet<?> packet)
public void
a(aac<?> arg0, xc arg1)
send(Packet<?> arg0, PacketSendListener arg1)
method_52391(class_2596<?> arg0, class_7648 arg1)
send(Packet<?> packet, PacketCallbacks callbacks)
public void
a(xv arg0)
disconnect(Component arg0)
method_52396(class_2561 arg0)
disconnect(Text reason)
public void
b(wr arg0)
disconnect(DisconnectionDetails arg0)
method_60673(class_9812 arg0)
disconnect(DisconnectionInfo disconnectionInfo)
protected boolean
h()
isSingleplayerOwner()
method_52402()
isHost()
protected abstract com.mojang.authlib.GameProfile
i()
playerProfile()
method_52403()
getProfile()
public com.mojang.authlib.GameProfile
j()
getOwner()
method_52404()
getDebugProfile()
public int
k()
latency()
method_52405()
getLatency()
protected CommonListenerCookie
a(ars arg0)
createCookie(ClientInformation arg0)
method_53825(class_8791 arg0)
createClientData(SyncedClientOptions syncedOptions)