public class S03PacketEnableCompression extends java.lang.Object implements Packet<INetHandlerLoginClient>
Constructor and Description |
---|
S03PacketEnableCompression() |
S03PacketEnableCompression(int compressionTresholdIn) |
Modifier and Type | Method and Description |
---|---|
int |
getCompressionTreshold() |
void |
processPacket(INetHandlerLoginClient handler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
public S03PacketEnableCompression()
public S03PacketEnableCompression(int compressionTresholdIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerLoginClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerLoginClient>
java.io.IOException
public void processPacket(INetHandlerLoginClient handler)
processPacket
in interface Packet<INetHandlerLoginClient>
public int getCompressionTreshold()