net.minecraft.network

public class Connection

extends io.netty.channel.SimpleChannelInboundHandler<Packet<?>>

kt
net.minecraft.network.Connection
net.minecraft.class_2535
net.minecraft.unmapped.C_oasmcckk
net.minecraft.network.ClientConnection
net.minecraft.network.NetworkManager
net.minecraft.server.v1_15_R1.NetworkManager

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
g
LOGGER
field_11642
f_lspmidtv
LOGGER
field_150735_g
public static final org.apache.logging.log4j.Marker
a
ROOT_MARKER
field_11641
f_wborsynf
MARKER_NETWORK
field_150740_a
public static final org.apache.logging.log4j.Marker
b
PACKET_MARKER
field_11639
f_howpitdi
MARKER_NETWORK_PACKETS
field_150738_b
public static final io.netty.util.AttributeKey<ConnectionProtocol>
c
ATTRIBUTE_PROTOCOL
field_11648
f_gecyhplb
ATTR_KEY_PROTOCOL
field_150739_c
public static final LazyLoadedValue<io.netty.channel.nio.NioEventLoopGroup>
d
NETWORK_WORKER_GROUP
field_11650
f_hudxxxbp
CLIENT_IO_GROUP
field_179295_d
public static final LazyLoadedValue<io.netty.channel.epoll.EpollEventLoopGroup>
e
NETWORK_EPOLL_WORKER_GROUP
field_11657
f_pdctspiv
CLIENT_IO_GROUP_EPOLL
field_181125_e
public static final LazyLoadedValue<io.netty.channel.DefaultEventLoopGroup>
f
LOCAL_WORKER_GROUP
field_11649
f_ewnrqslo
CLIENT_IO_GROUP_LOCAL
field_179296_e
private final PacketFlow
h
receiving
field_11643
f_gaynmpqg
side
field_179294_g
private final Queue<Connection$PacketHolder>
i
queue
field_11644
f_bgaglckf
packetQueue
field_150745_j
packetQueue
private io.netty.channel.Channel
j
channel
field_11651
f_kawdlrjp
channel
field_150746_k
channel
private SocketAddress
k
address
field_11645
f_daxqlowt
address
field_150743_l
socketAddress
private PacketListener
l
packetListener
field_11652
f_ucdtbtsq
packetListener
field_150744_m
packetListener
private Component
m
disconnectedReason
field_11660
f_hgoaaoyc
disconnectReason
field_150742_o
private boolean
n
encrypted
field_11647
f_eatlkkxl
encrypted
field_152463_r
private boolean
o
disconnectionHandled
field_11646
f_wdeykuqe
disconnected
field_179297_n
private int
p
receivedPackets
field_11658
f_mamtuefi
packetsReceivedCounter
field_211394_q
private int
q
sentPackets
field_11656
f_zrkidnxu
packetsSentCounter
field_211395_r
private float
r
averageReceivedPackets
field_11654
f_sjhnumre
avgPacketsReceived
field_211396_s
private float
s
averageSentPackets
field_11653
f_jrcdtkyf
avgPacketsSent
field_211397_t
private int
t
tickCount
field_11655
f_bcutours
ticks
field_211398_u
private boolean
u
handlingFault
field_11640
f_vcukytvt
field_211399_v

Constructor summary

ModifierConstructor
public (PacketFlow arg0)

Method summary

Modifier and TypeMethod
public void
channelActive(io.netty.channel.ChannelHandlerContext arg0)
channelActive(io.netty.channel.ChannelHandlerContext arg0)
channelActive(io.netty.channel.ChannelHandlerContext arg0)
channelActive(io.netty.channel.ChannelHandlerContext arg0)
public void
a(ku arg0)
setProtocol(ConnectionProtocol arg0)
method_10750(class_2539 arg0)
m_moawflfe(C_kxdobmrm arg0)
setState(NetworkState arg0)
func_150723_a(ProtocolType arg0)
setProtocol(EnumProtocol arg0)
public void
channelInactive(io.netty.channel.ChannelHandlerContext arg0)
channelInactive(io.netty.channel.ChannelHandlerContext arg0)
channelInactive(io.netty.channel.ChannelHandlerContext arg0)
channelInactive(io.netty.channel.ChannelHandlerContext arg0)
public void
exceptionCaught(io.netty.channel.ChannelHandlerContext arg0, Throwable arg1)
exceptionCaught(io.netty.channel.ChannelHandlerContext arg0, Throwable arg1)
exceptionCaught(io.netty.channel.ChannelHandlerContext arg0, Throwable arg1)
exceptionCaught(io.netty.channel.ChannelHandlerContext arg0, Throwable arg1)
protected void
a(io.netty.channel.ChannelHandlerContext arg0, lt<?> arg1)
channelRead0(io.netty.channel.ChannelHandlerContext arg0, Packet<?> arg1)
method_10770(io.netty.channel.ChannelHandlerContext arg0, class_2596<?> arg1)
m_zyhzemut(io.netty.channel.ChannelHandlerContext arg0, C_zyjtrjrl<?> arg1)
channelRead0(io.netty.channel.ChannelHandlerContext arg0, Packet<?> arg1)
channelRead0(io.netty.channel.ChannelHandlerContext arg0, IPacket<?> arg1)
private static <T extends PacketListener> void
a(lt<T> arg0, ky arg1)
genericsFtw(Packet<T> arg0, PacketListener arg1)
method_10759(class_2596<T> arg0, class_2547 arg1)
m_rgronykr(C_zyjtrjrl<T> arg0, C_tkgdawqw arg1)
handlePacket(Packet<T> packet, PacketListener listener)
func_197664_a(IPacket<T> arg0, INetHandler arg1)
public void
a(ky arg0)
setListener(PacketListener arg0)
method_10763(class_2547 arg0)
m_qqopfmuz(C_tkgdawqw arg0)
setPacketListener(PacketListener arg0)
func_150719_a(INetHandler arg0)
setPacketListener(PacketListener arg0)
public void
a(lt<?> arg0)
send(Packet<?> arg0)
method_10743(class_2596<?> arg0)
m_egofcujr(C_zyjtrjrl<?> arg0)
send(Packet<?> packet)
func_179290_a(IPacket<?> arg0)
sendPacket(Packet<?> arg0)
public void
a(lt<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
send(Packet<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
method_10752(class_2596<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
m_fgmkpwtg(C_zyjtrjrl<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
send(Packet<?> packet, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener)
func_201058_a(IPacket<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
sendPacket(Packet<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
private void
b(lt<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
sendPacket(Packet<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
method_10764(class_2596<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
m_bgcagbfi(C_zyjtrjrl<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
sendImmediately(Packet<?> packet, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener)
func_150732_b(IPacket<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
private void
o()
flushQueue()
method_10751()
m_akpgjfcu()
sendQueuedPackets()
func_150733_h()
public void
a()
tick()
method_10754()
m_tulexlec()
tick()
func_74428_b()
public SocketAddress
b()
getRemoteAddress()
method_10755()
m_sigcqeza()
getAddress()
func_74430_c()
getSocketAddress()
public void
a(lf arg0)
disconnect(Component arg0)
method_10747(class_2561 arg0)
m_kbtplepg(C_rdaqiwdt arg0)
disconnect(Text disconnectReason)
func_150718_a(ITextComponent arg0)
close(IChatBaseComponent arg0)
public boolean
c()
isMemoryConnection()
method_10756()
m_wrxqepoa()
isLocal()
func_150731_c()
isLocal()
public void
a(SecretKey arg0)
setEncryptionKey(SecretKey arg0)
method_10746(SecretKey arg0)
m_ebvsfyfg(SecretKey arg0)
setupEncryption(SecretKey arg0)
func_150727_a(SecretKey arg0)
public boolean
g()
isConnected()
method_10758()
m_xphjmqxa()
isOpen()
func_150724_d()
isConnected()
public boolean
h()
isConnecting()
method_10772()
m_bnpqdudq()
hasChannel()
func_179291_h()
public PacketListener
i()
getPacketListener()
method_10744()
m_bhwloxoc()
getPacketListener()
func_150729_e()
public Component
j()
getDisconnectedReason()
method_10748()
m_bywquzql()
getDisconnectReason()
func_150730_f()
public void
k()
setReadOnly()
method_10757()
m_cxygpyan()
disableAutoRead()
func_150721_g()
stopReading()
public void
a(int arg0)
setupCompression(int arg0)
method_10760(int arg0)
m_uyfxzupt(int arg0)
setMinCompressedSize(int arg0)
func_179289_a(int arg0)
setCompressionLevel(int arg0)
public void
l()
handleDisconnection()
method_10768()
m_wlmhzfek()
handleDisconnection()
func_179293_l()
handleDisconnection()
public static Connection
a(InetAddress arg0, int arg1, boolean arg2)
connectToServer(InetAddress arg0, int arg1, boolean arg2)
method_10753(InetAddress arg0, int arg1, boolean arg2)
m_vkqagjgi(InetAddress arg0, int arg1, boolean arg2)
connect(InetAddress address, int port, boolean shouldUseNativeTransport)
func_181124_a(InetAddress arg0, int arg1, boolean arg2)
public static Connection
a(SocketAddress arg0)
connectToLocalServer(SocketAddress arg0)
method_10769(SocketAddress arg0)
m_lyptmghi(SocketAddress arg0)
connect(SocketAddress address)
func_150722_a(SocketAddress arg0)
public boolean
f()
isEncrypted()
method_10771()
m_urabqmij()
isEncrypted()
func_179292_f()
public float
m()
getAverageReceivedPackets()
method_10762()
m_jitsmihi()
getAveragePacketsReceived()
func_211393_m()
public float
n()
getAverageSentPackets()
method_10745()
m_uhgukhmf()
getAveragePacketsSent()
func_211390_n()