Class ChecksumPacket
java.lang.Object
zombie.network.packets.service.ChecksumPacket
- All Implemented Interfaces:
INetworkPacketField, IDescriptor, INetworkPacket
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparse(ByteBuffer b, UdpConnection connection) voidparseServer(ByteBuffer b, UdpConnection connection) static voidsendError(UdpConnection connection, String error) static voidvoidvoidMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacket
isPostponed, parseClient, parseClientLoading, postpone, processClient, processClientLoading, processServer, sendToClient, sendToClients, sendToRelativeClients, sendToServer, setData, syncMethods inherited from interface INetworkPacketField
getPacketSizeBytes, isConsistent
-
Constructor Details
-
ChecksumPacket
public ChecksumPacket()
-
-
Method Details
-
setPacketTotalChecksum
public void setPacketTotalChecksum() -
write
- Specified by:
writein interfaceINetworkPacketField
-
parse
- Specified by:
parsein interfaceINetworkPacketField
-
parseServer
- Specified by:
parseServerin interfaceINetworkPacket
-
sendTotalChecksum
public static void sendTotalChecksum() -
sendError
-