Class Connection

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<JsonElement>
net.minecraft.server.jsonrpc.Connection
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class Connection extends io.netty.channel.SimpleChannelInboundHandler<JsonElement>
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • CONNECTION_ID_COUNTER

      private static final AtomicInteger CONNECTION_ID_COUNTER
    • jsonRpcLogger

      private final JsonRpcLogger jsonRpcLogger
    • clientInfo

      private final ClientInfo clientInfo
    • managementServer

      private final ManagementServer managementServer
    • channel

      private final io.netty.channel.Channel channel
    • minecraftApi

      private final MinecraftApi minecraftApi
    • transactionId

      private final AtomicInteger transactionId
    • pendingRequests

      private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<PendingRpcRequest<?>> pendingRequests
  • Constructor Details

  • Method Details