public class DefaultNetworkPacket
extends java.lang.Object
implements xyz.noark.core.network.NetworkPacket
| 构造器和说明 |
|---|
DefaultNetworkPacket() |
| 限定符和类型 | 方法和说明 |
|---|---|
xyz.noark.core.lang.ByteArray |
getByteArray() |
int |
getChecksum() |
int |
getIncode() |
int |
getLength() |
java.lang.Integer |
getOpcode() |
void |
setBytes(xyz.noark.core.lang.ByteArray bytes) |
void |
setChecksum(int checksum) |
void |
setIncode(int incode) |
void |
setLength(int length) |
void |
setOpcode(int opcode) |
java.lang.String |
toString() |
public java.lang.Integer getOpcode()
getOpcode 在接口中 xyz.noark.core.network.NetworkPacketpublic xyz.noark.core.lang.ByteArray getByteArray()
getByteArray 在接口中 xyz.noark.core.network.NetworkPacketpublic void setBytes(xyz.noark.core.lang.ByteArray bytes)
public int getIncode()
getIncode 在接口中 xyz.noark.core.network.NetworkPacketpublic void setIncode(int incode)
public int getChecksum()
getChecksum 在接口中 xyz.noark.core.network.NetworkPacketpublic void setChecksum(int checksum)
public void setOpcode(int opcode)
public int getLength()
getLength 在接口中 xyz.noark.core.network.NetworkPacketpublic void setLength(int length)
public java.lang.String toString()
toString 在类中 java.lang.Object