net.minecraft.server.v1_14_R1

public class NetworkManager

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

jb
net.minecraft.class_2535
net.minecraft.network.ClientConnection
net.minecraft.network.NetworkManager
net.minecraft.server.v1_14_R1.NetworkManager

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
g
field_11642
LOGGER
field_150735_g
public static final org.apache.logging.log4j.Marker
a
field_11641
MARKER_NETWORK
field_150740_a
public static final org.apache.logging.log4j.Marker
b
field_11639
MARKER_NETWORK_PACKETS
field_150738_b
public static final io.netty.util.AttributeKey<EnumProtocol>
c
field_11648
ATTR_KEY_PROTOCOL
field_150739_c
public static final LazyInitVar<io.netty.channel.nio.NioEventLoopGroup>
d
field_11650
CLIENT_IO_GROUP
field_179295_d
public static final LazyInitVar<io.netty.channel.epoll.EpollEventLoopGroup>
e
field_11657
CLIENT_IO_GROUP_EPOLL
field_181125_e
public static final LazyInitVar<io.netty.channel.DefaultEventLoopGroup>
f
field_11649
CLIENT_IO_GROUP_LOCAL
field_179296_e
private final EnumProtocolDirection
h
field_11643
side
field_179294_g
private final Queue<NetworkManager$QueuedPacket>
i
field_11644
packetQueue
field_150745_j
packetQueue
private final ReentrantReadWriteLock
j
field_11659
lock
field_181680_j
private io.netty.channel.Channel
k
field_11651
channel
field_150746_k
channel
private SocketAddress
l
field_11645
address
field_150743_l
socketAddress
private PacketListener
m
field_11652
packetListener
field_150744_m
packetListener
private IChatBaseComponent
n
field_11660
disconnectReason
field_150742_o
private boolean
o
field_11647
encrypted
field_152463_r
private boolean
p
field_11646
disconnected
field_179297_n
private int
q
field_11658
packetsReceivedCounter
field_211394_q
private int
r
field_11656
packetsSentCounter
field_211395_r
private float
s
field_11654
avgPacketsReceived
field_211396_s
private float
t
field_11653
avgPacketsSent
field_211397_t
private int
u
field_11655
ticks
field_211398_u
private boolean
v
field_11640
field_11640
field_211399_v

Constructor summary

ModifierConstructor
public (EnumProtocolDirection 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(jc arg0)
method_10750(class_2539 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, kb<?> arg1)
method_10770(io.netty.channel.ChannelHandlerContext arg0, class_2596<?> arg1)
method_10770(io.netty.channel.ChannelHandlerContext arg0, Packet<?> arg1)
channelRead0(io.netty.channel.ChannelHandlerContext arg0, IPacket<?> arg1)
private static <T extends PacketListener> void
a(kb<T> arg0, jg arg1)
method_10759(class_2596<T> arg0, class_2547 arg1)
handlePacket(Packet<T> arg0, PacketListener arg1)
func_197664_a(IPacket<T> arg0, INetHandler arg1)
public void
a(jg arg0)
method_10763(class_2547 arg0)
setPacketListener(PacketListener arg0)
func_150719_a(INetHandler arg0)
setPacketListener(PacketListener arg0)
public void
a(kb<?> arg0)
method_10743(class_2596<?> arg0)
send(Packet<?> arg0)
func_179290_a(IPacket<?> arg0)
sendPacket(Packet<?> arg0)
public void
a(kb<?> 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)
send(Packet<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
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(kb<?> 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)
sendImmediately(Packet<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
func_150732_b(IPacket<?> arg0, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> arg1)
private void
o()
method_10751()
sendQueuedPackets()
func_150733_h()
public void
a()
method_10754()
tick()
func_74428_b()
public SocketAddress
b()
method_10755()
getAddress()
func_74430_c()
getSocketAddress()
public void
a(jn arg0)
method_10747(class_2561 arg0)
disconnect(Text arg0)
func_150718_a(ITextComponent arg0)
close(IChatBaseComponent arg0)
public boolean
c()
method_10756()
isLocal()
func_150731_c()
isLocal()
public void
a(SecretKey arg0)
method_10746(SecretKey arg0)
setupEncryption(SecretKey arg0)
func_150727_a(SecretKey arg0)
public boolean
g()
method_10758()
isOpen()
func_150724_d()
isConnected()
public boolean
h()
method_10772()
hasChannel()
func_179291_h()
public PacketListener
i()
method_10744()
getPacketListener()
func_150729_e()
public IChatBaseComponent
j()
method_10748()
getDisconnectReason()
func_150730_f()
public void
k()
method_10757()
disableAutoRead()
func_150721_g()
stopReading()
public void
a(int arg0)
method_10760(int arg0)
setMinCompressedSize(int arg0)
func_179289_a(int arg0)
setCompressionLevel(int arg0)
public void
l()
method_10768()
handleDisconnection()
func_179293_l()
handleDisconnection()
public static NetworkManager
a(InetAddress arg0, int arg1, boolean arg2)
method_10753(InetAddress arg0, int arg1, boolean arg2)
connect(InetAddress arg0, int arg1, boolean arg2)
func_181124_a(InetAddress arg0, int arg1, boolean arg2)
public static NetworkManager
a(SocketAddress arg0)
method_10769(SocketAddress arg0)
connect(SocketAddress arg0)
func_150722_a(SocketAddress arg0)
public boolean
f()
method_10771()
isEncrypted()
func_179292_f()
public float
m()
method_10762()
getAveragePacketsReceived()
func_211393_m()
public float
n()
method_10745()
getAveragePacketsSent()
func_211390_n()