Class PacketHeader
java.lang.Object
com.tenio.core.network.zero.codec.packet.PacketHeader
The packet header contains settings for the packet by combining the conditions.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isBinary()
boolean
boolean
static PacketHeader
newInstance
(boolean binary, boolean compressed, boolean bigSized, boolean encrypted) toString()
-
Method Details
-
newInstance
public static PacketHeader newInstance(boolean binary, boolean compressed, boolean bigSized, boolean encrypted) -
isBinary
public boolean isBinary() -
isCompressed
public boolean isCompressed() -
isBigSized
public boolean isBigSized() -
isEncrypted
public boolean isEncrypted() -
toString
-