public abstract class Packet
extends java.lang.Object
Constructor and Description |
---|
Packet() |
Modifier and Type | Method and Description |
---|---|
static Packet |
generatePacket(BiMap p_148839_0_,
int p_148839_1_) |
boolean |
hasPriority() |
abstract void |
processPacket(INetHandler p_148833_1_) |
static byte[] |
readBlob(ByteBuf p_148834_0_) |
abstract void |
readPacketData(PacketBuffer p_148837_1_) |
java.lang.String |
serialize() |
java.lang.String |
toString() |
static void |
writeBlob(ByteBuf p_148838_0_,
byte[] p_148838_1_) |
abstract void |
writePacketData(PacketBuffer p_148840_1_) |
public static Packet generatePacket(BiMap p_148839_0_, int p_148839_1_)
public static void writeBlob(ByteBuf p_148838_0_, byte[] p_148838_1_)
public static byte[] readBlob(ByteBuf p_148834_0_) throws java.io.IOException
java.io.IOException
public abstract void readPacketData(PacketBuffer p_148837_1_) throws java.io.IOException
java.io.IOException
public abstract void writePacketData(PacketBuffer p_148840_1_) throws java.io.IOException
java.io.IOException
public abstract void processPacket(INetHandler p_148833_1_)
public boolean hasPriority()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String serialize()