-
成员变量 修饰符和类 成员变量描述 static byte
CHANNEL_BLOCKS
static byte
CHANNEL_END
static byte
CHANNEL_ENTITY_SPAWNING
static byte
CHANNEL_MOVEMENT
static byte
CHANNEL_NONE
static byte
CHANNEL_PRIORITY
static byte
CHANNEL_TEXT
static byte
CHANNEL_WORLD_CHUNKS
static byte
CHANNEL_WORLD_EVENTS
-
All Methods Static Methods Instance Methods Concrete Methods 修饰符和类 成员函数描述 void
addStatistics(double upload, double download)
void
blockAddress(InetAddress address)
void
blockAddress(InetAddress address, int timeout)
static byte[]
deflateRaw(byte[][] datas, int level)
static byte[]
deflateRaw(byte[] data, int level)
double
getDownload()
Set<SourceInterface>
getInterfaces()
String
getName()
DataPacket
getPacket(int id)
Server
getServer()
String
getSubName()
double
getUpload()
static byte[]
inflateRaw(byte[] data)
void
processBatch(BatchPacket packet, Player player)
void
processBatch(byte[] payload, Collection<DataPacket> packets)
void
processInterfaces()
void
processPackets(Player player, List<DataPacket> packets)
Process packets obtained from batch packets Required to perform additional analyses and filter unnecessary packetsvoid
registerInterface(SourceInterface interfaz)
void
registerPacket(byte id, Class<? extends DataPacket> clazz)
void
resetStatistics()
void
sendPacket(InetSocketAddress socketAddress, io.netty.buffer.ByteBuf payload)
void
setName(String name)
void
setSubName(String subName)
void
unblockAddress(InetAddress address)
void
unregisterInterface(SourceInterface sourceInterface)
void
updateName()